Expand description
CPAL device enumeration and resolution.
This module bridges the validated config plan to CPAL audio devices.
Structs§
- Resolved
Audio Devices - A fully resolved set of devices, ready for stream opening.
- Resolved
Device - Information about a resolved audio device.
Functions§
- find_
stream_ config - Find the best supported stream config for a device at the given sample rate.
- print_
devices - Print all available audio devices with their input and output channel counts. Does not read config.
- resolve_
devices - Resolve all devices in the validated config against actual CPAL devices.
- verify_
device_ openable - Play silence to a device briefly to verify it can be opened.