Expand description
The suite of traits allowing CPAL to abstract over hosts, devices, event loops and stream IDs.
§Custom Host Implementations
When implementing custom hosts with the custom feature, use the assert_stream_send!
and assert_stream_sync! macros to verify your Stream type meets CPAL’s requirements.
Traits§
- Device
Trait - A device that is capable of audio input and/or output.
- Host
Trait - A
Hostprovides access to the available audio devices on the system. - Stream
Trait - A stream created from
Device, with methods to control playback.