audio · thing ·

audioDeviceIdentity

A audio device identity record carrying stableId, displayName, provider, isDefault.

audiocpusource-examplethingyeho

Play and control audio through Yeho's bounded audio runtime.

external thing audioDeviceIdentity

Status: source-declared

Fields and methods (5)
text stableId
Stores stable id as text.
text displayName
Stores display name as text.
text provider
Stores provider as text.
bool isDefault
Stores is default as bool.
audioDeviceIdentity(text stableId, text displayName, text provider, bool isDefault)
Audio device identity.

Use audioDeviceIdentity

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using audio

// Play and control audio through Yeho's bounded audio runtime.
audioDeviceIdentity sample = audioDeviceIdentity("stable Id", "display Name", "provider", true)
Console.Log(Text.From(sample.stableId))
project.mech
manifestVersion = "2"
package = "api.example.audio__audiodeviceidentity"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "audio"
version = "0.1.0"
path = "../../../yeho/packages/audio"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/audio/audio.yh:5