aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-14 22:12:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-14 22:12:40 +0000
commit77adb2ba529973b99383fd4571f67eede3afcda4 (patch)
tree792fa510f9643f2e82ea81bc890c83c630ce9d1b /Demos/Device
parentc0f763db0474e6441ed313c208eaf9b34a2ca6b1 (diff)
downloadlufa-77adb2ba529973b99383fd4571f67eede3afcda4.tar.gz
lufa-77adb2ba529973b99383fd4571f67eede3afcda4.tar.bz2
lufa-77adb2ba529973b99383fd4571f67eede3afcda4.zip
Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
Diffstat (limited to 'Demos/Device')
-rw-r--r--Demos/Device/ClassDriver/AudioInput/AudioInput.c1
-rw-r--r--Demos/Device/ClassDriver/AudioOutput/AudioOutput.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.c b/Demos/Device/ClassDriver/AudioInput/AudioInput.c
index 9aa866755..382446a80 100644
--- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c
+++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c
@@ -44,6 +44,7 @@ USB_ClassInfo_Audio_Device_t Microphone_Audio_Interface =
{
.Config =
{
+ .ControlInterfaceNumber = 0,
.StreamingInterfaceNumber = 1,
.DataINEndpointNumber = AUDIO_STREAM_EPNUM,
diff --git a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
index 6a87211e5..78d81f57a 100644
--- a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
+++ b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
@@ -44,6 +44,7 @@ USB_ClassInfo_Audio_Device_t Speaker_Audio_Interface =
{
.Config =
{
+ .ControlInterfaceNumber = 0,
.StreamingInterfaceNumber = 1,
.DataOUTEndpointNumber = AUDIO_STREAM_EPNUM,