{"id":"audio--audioDeviceIdentity","name":"audioDeviceIdentity","owner":"yeho","package":"audio","kind":"thing","signature":"external thing audioDeviceIdentity","description":"A audio device identity record carrying stableId, displayName, provider, isDefault.","context":"Play and control audio through Yeho's bounded audio runtime.","parameters":[],"returns":"void","members":[{"name":"stableId","kind":"field","type":"text","description":"Stores stable id as text.","signature":"text stableId","tags":["thing","field","audio"],"updated":"2026-09-09"},{"name":"displayName","kind":"field","type":"text","description":"Stores display name as text.","signature":"text displayName","tags":["thing","field","audio"],"updated":"2026-09-09"},{"name":"provider","kind":"field","type":"text","description":"Stores provider as text.","signature":"text provider","tags":["thing","field","audio"],"updated":"2026-09-09"},{"name":"isDefault","kind":"field","type":"bool","description":"Stores is default as bool.","signature":"bool isDefault","tags":["thing","field","audio"],"updated":"2026-09-09"},{"name":"audioDeviceIdentity","kind":"constructor","parameters":[{"name":"stableId","type":"text","description":"Stable id."},{"name":"displayName","type":"text","description":"Display name."},{"name":"provider","type":"text","description":"Provider."},{"name":"isDefault","type":"bool","description":"Is default."}],"returns":"void","signature":"audioDeviceIdentity(text stableId, text displayName, text provider, bool isDefault)","description":"Audio device identity.","tags":["thing","constructor","audio"],"updated":"2026-09-09"}],"tags":["audio","cpu","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/audio/audio.yh","line":5,"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 audioDeviceIdentity","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.\naudioDeviceIdentity sample = audioDeviceIdentity(\"stable Id\", \"display Name\", \"provider\", true)\nConsole.Log(Text.From(sample.stableId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.audio__audiodeviceidentity\"\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":"4585d83da83e0b99c15d26a446547768737612332cc654cc17b651eb2ae8abbb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["stableId","displayName","provider","isDefault","audioDeviceIdentity"],"url":"https://demonhunterlabs.com/academy/api?item=audio--audioDeviceIdentity","json":"https://demonhunterlabs.com/reference/items/audio--audioDeviceIdentity.json","markdown":"https://demonhunterlabs.com/reference/text/audio--audioDeviceIdentity.md"}
