{"id":"audio--AudioContract","name":"AudioContract","owner":"yeho","package":"audio","kind":"function","signature":"external AudioContract() returns text","description":"Audio contract.","context":"Play and control audio through Yeho's bounded audio runtime.","parameters":[],"returns":"text","members":[],"tags":["audio","cpu","function","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/audio/audio.yh","line":104,"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 AudioContract","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.\ntext result = AudioContract()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.audio__audiocontract\"\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":"217166ad2a4cb3b485960a6207e31f5dedb011cfefd9ee4926033da6bd897cd7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=audio--AudioContract","json":"https://demonhunterlabs.com/reference/items/audio--AudioContract.json","markdown":"https://demonhunterlabs.com/reference/text/audio--AudioContract.md"}
