aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-10-14 09:42:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-10-14 09:42:11 +0000
commite53c120a2240549d42d98be92f25d6e92caeab0a (patch)
tree48179a33fee423b2ece3e757f041178940d340cd /Demos/Device/ClassDriver/AudioOutput/Descriptors.c
parentdc68de15b69c2064b1b14d00659aa91054cccbe1 (diff)
downloadlufa-e53c120a2240549d42d98be92f25d6e92caeab0a.tar.gz
lufa-e53c120a2240549d42d98be92f25d6e92caeab0a.tar.bz2
lufa-e53c120a2240549d42d98be92f25d6e92caeab0a.zip
Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioOutput/Descriptors.c')
-rw-r--r--Demos/Device/ClassDriver/AudioOutput/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/AudioOutput/Descriptors.c b/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
index efbe82410..afc30466e 100644
--- a/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
+++ b/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
@@ -200,7 +200,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.SubFrameSize = 0x02,
.BitResolution = 16,
- .SampleFrequencyType = (AUDIO_TOTAL_SAMPLE_RATES * sizeof(USB_Audio_SampleFreq_t)),
+ .SampleFrequencyType = AUDIO_TOTAL_SAMPLE_RATES,
.SampleFrequencies = {AUDIO_SAMPLE_FREQ(AUDIO_SAMPLE_FREQUENCY)}
},