Expand description
USB Audio Class 1.0 - Speaker device
Provides a class with a single audio streaming interface (host to device), that advertises itself as a speaker. Includes explicit sample rate feedback.
Various aspects of the audio stream can be configured, for example:
- sample rate
- sample resolution
- audio channel count and assignment
Mute and volume controls are optional and configured through Config::feature_unit.
Re-exports§
pub use super::Volume;
Structs§
- Config
- Speaker stream settings and optional host controls.
- Control
Monitor - Control status change monitor.
- Feature
Unit Controls - Supported control flags.
Combine flags with
|, for exampleSelf::MUTE | Self::VOLUME. - Feedback
- The isochronous synch endpoint [UAC 4.6.2]: used for writing sample rate feedback to the host.
- Speaker
- Implementation of the USB audio class 1.0.
- State
- Internal state for a USB Audio Class 1.0 class.
- Stream
- Used for reading audio frames.