Expand description
Audio character-device control contract (device::kind::AUDIO).
Configuration is fixed for an open stream. GET_WRITABLE returns free
bytes. Volume is 0..=100 percent, applied when rendering. STOP pauses
on the next callback and retains queued PCM.
GET_UNDERRUNS returns the number of output underruns since boot.
The count saturates at u32::MAX.
Structs§
- Configuration
- Fixed-width device payload. Frames contain one sample per interleaved channel.
- GET_
CONFIGURATION - GET_
UNDERRUNS - GET_
VOLUME - GET_
WRITABLE - SET_
CONFIGURATION - SET_
VOLUME - START
- STOP
Enums§
- Sample
Format - The little-endian representation of one PCM sample in the device byte stream.