embassy-usb

Crates

git

Versions

default

Flavors

embassy_usb::class::uac1

Module speaker

Source
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

The class provides volume and mute controls for each channel.

Structs§

  • Audio settings for the feature unit.
  • Control status change monitor
  • Used for writing sample rate information over the feedback endpoint.
  • Implementation of the USB audio class 1.0.
  • Internal state for the USB Audio Class.
  • Used for reading audio frames.

Enums§

  • The volume of an audio channel.