{"id":"runtime--Audio.CreateOutputDevice","name":"Audio.CreateOutputDevice","owner":"yeho","package":"runtime.Audio","kind":"builtin","signature":"Audio.CreateOutputDevice(int value) -> bool","description":"Create output device through the Audio runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"value","type":"int","description":"Supply value as int.","rule":"Int"}],"returns":"bool","members":[],"tags":["audio","builtin","cpu","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":908,"sha256":"14d29529d2d3c0e2b587f83c7f125b99ada142ed7ae28612701ea6cb9174ac65"},"status":"registered-intrinsic","notes":["The example checks the call shape. Opening windows, recording audio, changing files, network operations, and process operations have real effects when run. Follow the corresponding package lifecycle before using live resources."],"examples":[{"id":"usage","title":"Call Audio.CreateOutputDevice","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"int value = 1\nbool result = Audio.CreateOutputDevice(value)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__audio_createoutputdevice\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"5c1a8ba270ac9e43f55027be166b241f005980cea2cbccaff67023359112d41a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Audio.CreateOutputDevice","json":"https://demonhunterlabs.com/reference/items/runtime--Audio.CreateOutputDevice.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Audio.CreateOutputDevice.md"}
