[ type ] AudioFormat
Description:
Represents an audio format for an audio device.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
number | Number of audio channels. (1-Mono, 2-Stereo, etc.) |
|
number | Bits per audio sample. |
|
number | Sample rate in Hz (only available for audio input devices). |
|
string | Audio encoding (e.g., "PCM_UNSIGNED", "PCM_SIGNED"); (only available for audio output device formats). |
