{"id":"audio--SetAudioControlInt","name":"SetAudioControlInt","owner":"yeho","package":"audio","kind":"function","signature":"external SetAudioControlInt(int slot, int value) returns bool","description":"Set audio control int.","context":"Play and control audio through Yeho's bounded audio runtime.","parameters":[{"name":"slot","type":"int","description":"Supply slot as int."},{"name":"value","type":"int","description":"Supply value as int."}],"returns":"bool","members":[],"tags":["audio","cpu","function","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/audio/audio.yh","line":313,"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 SetAudioControlInt","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\nint value = 1\nbool result = SetAudioControlInt(slot, value)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.audio__setaudiocontrolint\"\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":"46dba782a72f1da9f8d572c3e287e7ccfa105b7f18d837d1a793d3bd9a90662d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=audio--SetAudioControlInt","json":"https://demonhunterlabs.com/reference/items/audio--SetAudioControlInt.json","markdown":"https://demonhunterlabs.com/reference/text/audio--SetAudioControlInt.md"}
