Audio class-specific Format Descriptor. More...
#include <Audio.h>
Data Fields | |
USB_Descriptor_Header_t | Header |
uint8_t | Subtype |
uint8_t | FormatType |
uint8_t | Channels |
uint8_t | SubFrameSize |
uint8_t | BitResolution |
uint8_t | SampleFrequencyType |
USB_Audio_SampleFreq_t | SampleFrequencies [AUDIO_TOTAL_SAMPLE_RATES] |
Type define for an Audio class-specific audio format descriptor. This is used to give the host full details about the number of channels, the sample resolution, acceptable sample frequencies and encoding method used in the device's audio streams. See the USB Audio specification for more details.
Bits of resolution of each channel's samples in the stream.
uint8_t USB_Audio_Format_t::Channels |
Total number of discrete channels in the stream.
uint8_t USB_Audio_Format_t::FormatType |
Format of the audio stream, see Audio Device Formats specification.
Regular descriptor header containing the descriptor's type and length.
USB_Audio_SampleFreq_t USB_Audio_Format_t::SampleFrequencies[AUDIO_TOTAL_SAMPLE_RATES] |
Sample frequencies supported by the device.
Total number of sample frequencies supported by the device.
uint8_t USB_Audio_Format_t::SubFrameSize |
Size in bytes of each channel's sample data in the stream.
uint8_t USB_Audio_Format_t::Subtype |
Sub type value used to distinguish between audio class-specific descriptors.