klyn.audio.AudioInputDevice.AudioInputDevice
constructor
public AudioInputDevice(notnull id as String, notnull name as String)
Description

Creates a descriptor, without opening or checking the device. Prefer the descriptors returned by Microphone.listDevices().

Parameters
ParameterDescription
idNonempty opaque identifier returned by the audio backend.
nameNonempty display label.
Throws
  • ValueException for empty text or embedded NUL characters.
Example

copy = AudioInputDevice(audioDevice.id, audioDevice.name)