diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-05-30 11:07:57 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-05-30 11:07:57 +0000 |
commit | 2a26efc6912badfff9e798f5dbac57ba85ce6dd1 (patch) | |
tree | 9510c38dc53bbf95489cd10c00d5685e4d97d70b /Demos/Device/ClassDriver/AudioOutput/Descriptors.h | |
parent | 78cfaac9b4fc9ae15652f18e9abb79dcedfcd4b5 (diff) | |
download | lufa-2a26efc6912badfff9e798f5dbac57ba85ce6dd1.tar.gz lufa-2a26efc6912badfff9e798f5dbac57ba85ce6dd1.tar.bz2 lufa-2a26efc6912badfff9e798f5dbac57ba85ce6dd1.zip |
Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioOutput/Descriptors.h')
-rw-r--r-- | Demos/Device/ClassDriver/AudioOutput/Descriptors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/AudioOutput/Descriptors.h b/Demos/Device/ClassDriver/AudioOutput/Descriptors.h index 2a9a6f6e8..b4b8db6a4 100644 --- a/Demos/Device/ClassDriver/AudioOutput/Descriptors.h +++ b/Demos/Device/ClassDriver/AudioOutput/Descriptors.h @@ -70,6 +70,7 @@ USB_Descriptor_Interface_t Audio_StreamInterface_Alt1; USB_Audio_Descriptor_Interface_AS_t Audio_StreamInterface_SPC; USB_Audio_Descriptor_Format_t Audio_AudioFormat; + USB_Audio_SampleFreq_t Audio_AudioFormatSampleRates[1]; USB_Audio_Descriptor_StreamEndpoint_Std_t Audio_StreamEndpoint; USB_Audio_Descriptor_StreamEndpoint_Spc_t Audio_StreamEndpoint_SPC; } USB_Descriptor_Configuration_t; |