Expand description
cpal-based microphone capture: 16kHz mono i16 PCM audio recording.
Tries the ideal config (16kHz mono) first. When the device doesn’t support it — common on macOS — falls back to the device’s native sample-rate and channel count and resamples to 16kHz mono in the audio callback.
Structs§
- Cpal
Recorder - Records microphone audio via cpal, always producing 16kHz mono i16 output.
Functions§
- list_
devices - Lists all available audio input device names.