{"id":"audio--AudioCaptureContract","name":"AudioCaptureContract","owner":"yeho","package":"audio","kind":"function","signature":"external AudioCaptureContract() returns text","description":"Audio capture 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":210,"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 AudioCaptureContract","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 = AudioCaptureContract()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.audio__audiocapturecontract\"\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":"19e9f7e7f844ae2e3c26837bb2234ecebef17e469007e663d7c72a1bb57ec8f1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=audio--AudioCaptureContract","json":"https://demonhunterlabs.com/reference/items/audio--AudioCaptureContract.json","markdown":"https://demonhunterlabs.com/reference/text/audio--AudioCaptureContract.md"}
