{"id":"runtime--Audio.WriteStereoFrame","name":"Audio.WriteStereoFrame","owner":"yeho","package":"runtime.Audio","kind":"builtin","signature":"Audio.WriteStereoFrame(int frame, float left, float right) -> bool","description":"Write stereo frame 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":"frame","type":"int","description":"Supply frame as int.","rule":"Int"},{"name":"left","type":"float","description":"Supply left as float.","rule":"Float32"},{"name":"right","type":"float","description":"Supply right as float.","rule":"Float32"}],"returns":"bool","members":[],"tags":["audio","builtin","cpu","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":920,"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.WriteStereoFrame","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"int frame = 1\nfloat left = 1.0\nfloat right = 1.0\nbool result = Audio.WriteStereoFrame(frame, left, right)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__audio_writestereoframe\"\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":"b65da6e7d35f0298103473d125c790b85aa2e145a87be7265e254c364b651da7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Audio.WriteStereoFrame","json":"https://demonhunterlabs.com/reference/items/runtime--Audio.WriteStereoFrame.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Audio.WriteStereoFrame.md"}
