{"id":"audio--SetAudioControlFloat","name":"SetAudioControlFloat","owner":"yeho","package":"audio","kind":"function","signature":"external SetAudioControlFloat(int slot, float value) returns bool","description":"Fixed atomic snapshot slots are generic transport. Their meanings belong to the consumer; the audio package never assigns musical vocabulary to them.","context":"Play and control audio through Yeho's bounded audio runtime.","parameters":[{"name":"slot","type":"int","description":"Supply slot as int."},{"name":"value","type":"float","description":"Supply value as float."}],"returns":"bool","members":[],"tags":["audio","cpu","function","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/audio/audio.yh","line":311,"sha256":"02666e1bb2673c40210d372d8775a26bc82643a3070205b14759fe98b97ff6cb"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use SetAudioControlFloat","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using audio\n\n// Play and control audio through Yeho's bounded audio runtime.\nint slot = 1\nfloat value = 1.0\nbool result = SetAudioControlFloat(slot, value)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.audio__setaudiocontrolfloat\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"audio\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/audio\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"896605d24219652f131577ebb49de38541f4f425dcfa547c8c83f5ddc681b173","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=audio--SetAudioControlFloat","json":"https://demonhunterlabs.com/reference/items/audio--SetAudioControlFloat.json","markdown":"https://demonhunterlabs.com/reference/text/audio--SetAudioControlFloat.md"}
