LUFA Library 110528
USB_Audio_StdDescriptor_Format_t Struct Reference

Audio class-specific Format Descriptor (USB-IF naming conventions). More...

#include <Audio.h>

Data Fields

uint8_t bLength
uint8_t bDescriptorType
uint8_t bDescriptorSubtype
uint8_t bFormatType
uint8_t bNrChannels
uint8_t bSubFrameSize
uint8_t bBitResolution
uint8_t bSampleFrequencyType
uint8_t SampleFrequencies [AUDIO_TOTAL_SAMPLE_RATES *3]

Detailed Description

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.

See also:
USB_Audio_Descriptor_Format_t for the version of this type with non-standard LUFA specific element names.

Field Documentation

Bits of resolution of each channel's samples in the stream.

Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSInterface_AS_SubTypes_t enum.

Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_FormatType.

Format of the audio stream, see Audio Device Formats specification.

Size of the descriptor, in bytes.

Total number of discrete channels in the stream.

Total number of sample frequencies supported by the device.

Size in bytes of each channel's sample data in the stream.

uint8_t USB_Audio_StdDescriptor_Format_t::SampleFrequencies[AUDIO_TOTAL_SAMPLE_RATES *3]

Sample frequencies supported by the device (must be 24-bit).


The documentation for this struct was generated from the following file: