Overview of CPAL functionality
masterCPAL (Cross-Platform Audio Library) is a low-level Rust library for audio input and output. It provides the following capabilities:
- Device Enumeration: List audio hosts, devices, and their supported stream configurations.
- Device Lookup: Find devices by stable ID or by default input/output roles.
- Metadata Inspection: Access device name, manufacturer, type, and bus type.
- Stream Management: Build input and output streams using compile-time or runtime sample formats; play, pause, and query buffer size and clock.
For higher-level audio playback and capture, consider using Rodio.