Skip to content

AudioDevice

1 min read

Import: import system.audio;

Read the audio guide for usage, limits, and current platform restrictions.

AudioDevice

An output device visible to the current application.

public class AudioDevice

id

Opaque host-specific ID; the empty ID selects the system default.

public id: string

name

User-visible device label, possibly empty before browser permission.

public name: string

is_default

Whether this is currently the system default output.

public is_default: bool