public final class AudioInputDevice
Immutable description of an OS audio input. Obtain current descriptors from Microphone.listDevices(); enumeration does not start recording. IDs are opaque, backend-specific identifiers, not list positions or names. A disconnected input must be enumerated again; selecting it never falls back to the default input.
for device in Microphone.listDevices(): print(device.name, device.id)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | idid as String |
Opaque OS identifier. |
| public readonly property | namename as String |
Human-readable OS label; different devices can share it. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | AudioInputDeviceAudioInputDevice(notnull id as String, notnull name as String) |
Creates a descriptor, without opening or checking the device. |