Optional
deviceDevice id. Can be obtained using getDefaultInputDevice
/getDefaultOutputDevice
or using getDevices
from the field id
.
NOTE: For legacy reasons, this field also accepts the index of the device in the array that is returned from getDevices
. Please avoid using it.
Optional
firstFirst channel index on device (default = 0).
Number of channels.
The structure for specifying input or ouput stream parameters.