diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-10-27 18:25:30 +0100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-10-27 18:25:30 +0100 |
commit | 13b3014db42c933769248420f6c179cd49d181bb (patch) | |
tree | c04afb317dcdaea2318e159743541cb2a214b554 | |
parent | 3fc75f130b9031dec729c3708744a1529f41f325 (diff) | |
parent | e7a8fd6033312fec55f0fda4ab7920c48cf7f4b5 (diff) | |
download | lufa-13b3014db42c933769248420f6c179cd49d181bb.tar.gz lufa-13b3014db42c933769248420f6c179cd49d181bb.tar.bz2 lufa-13b3014db42c933769248420f6c179cd49d181bb.zip |
Merge branch 'master' of github.com:abcminiuser/lufa
-rw-r--r-- | Demos/Device/ClassDriver/AudioInput/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/AudioOutput/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/Descriptors.c | 6 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/Descriptors.h | 4 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/MIDI.c | 2 | ||||
-rw-r--r-- | Demos/Device/LowLevel/AudioInput/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/LowLevel/AudioOutput/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/LowLevel/MIDI/Descriptors.c | 2 | ||||
-rw-r--r-- | Projects/MIDIToneGenerator/Descriptors.c | 2 |
9 files changed, 12 insertions, 12 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/Descriptors.c b/Demos/Device/ClassDriver/AudioInput/Descriptors.c index a48738735..b65d747c2 100644 --- a/Demos/Device/ClassDriver/AudioInput/Descriptors.c +++ b/Demos/Device/ClassDriver/AudioInput/Descriptors.c @@ -113,7 +113,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = sizeof(USB_Audio_Descriptor_OutputTerminal_t)), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_InputTerminal = diff --git a/Demos/Device/ClassDriver/AudioOutput/Descriptors.c b/Demos/Device/ClassDriver/AudioOutput/Descriptors.c index aec2c5f51..4c3927c81 100644 --- a/Demos/Device/ClassDriver/AudioOutput/Descriptors.c +++ b/Demos/Device/ClassDriver/AudioOutput/Descriptors.c @@ -113,7 +113,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = sizeof(USB_Audio_Descriptor_OutputTerminal_t)), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_InputTerminal = diff --git a/Demos/Device/ClassDriver/MIDI/Descriptors.c b/Demos/Device/ClassDriver/MIDI/Descriptors.c index 746bcc484..541ee8161 100644 --- a/Demos/Device/ClassDriver/MIDI/Descriptors.c +++ b/Demos/Device/ClassDriver/MIDI/Descriptors.c @@ -90,7 +90,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, - .InterfaceNumber = INTERFACE_ID_MidiAudioControl, + .InterfaceNumber = INTERFACE_ID_AudioControl, .AlternateSetting = 0, .TotalEndpoints = 0, @@ -111,14 +111,14 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .TotalLength = sizeof(USB_Audio_Descriptor_Interface_AC_t), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_StreamInterface = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, - .InterfaceNumber = INTERFACE_ID_MidiAudioStreaming, + .InterfaceNumber = INTERFACE_ID_AudioStream, .AlternateSetting = 0, .TotalEndpoints = 2, diff --git a/Demos/Device/ClassDriver/MIDI/Descriptors.h b/Demos/Device/ClassDriver/MIDI/Descriptors.h index d6f230a8d..9908778c8 100644 --- a/Demos/Device/ClassDriver/MIDI/Descriptors.h +++ b/Demos/Device/ClassDriver/MIDI/Descriptors.h @@ -83,8 +83,8 @@ */ enum InterfaceDescriptors_t { - INTERFACE_ID_MidiAudioControl = 0, /**< MIDI audio control interface descriptor ID */ - INTERFACE_ID_MidiAudioStreaming = 1, /**< MIDI audio streaming interface descriptor ID */ + INTERFACE_ID_AudioControl = 0, /**< Audio control interface descriptor ID */ + INTERFACE_ID_AudioStream = 1, /**< Audio streaming interface descriptor ID */ }; /** Enum for the device string descriptor IDs within the device. Each string descriptor should diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c index 79a831762..d49dc4c8c 100644 --- a/Demos/Device/ClassDriver/MIDI/MIDI.c +++ b/Demos/Device/ClassDriver/MIDI/MIDI.c @@ -44,7 +44,7 @@ USB_ClassInfo_MIDI_Device_t Keyboard_MIDI_Interface = { .Config = { - .StreamingInterfaceNumber = INTERFACE_ID_MidiAudioStreaming, + .StreamingInterfaceNumber = INTERFACE_ID_AudioStream, .DataINEndpoint = { .Address = MIDI_STREAM_IN_EPADDR, diff --git a/Demos/Device/LowLevel/AudioInput/Descriptors.c b/Demos/Device/LowLevel/AudioInput/Descriptors.c index 444f16046..85211999a 100644 --- a/Demos/Device/LowLevel/AudioInput/Descriptors.c +++ b/Demos/Device/LowLevel/AudioInput/Descriptors.c @@ -113,7 +113,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = sizeof(USB_Audio_Descriptor_OutputTerminal_t)), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_InputTerminal = diff --git a/Demos/Device/LowLevel/AudioOutput/Descriptors.c b/Demos/Device/LowLevel/AudioOutput/Descriptors.c index 7879c3463..6505bb35e 100644 --- a/Demos/Device/LowLevel/AudioOutput/Descriptors.c +++ b/Demos/Device/LowLevel/AudioOutput/Descriptors.c @@ -113,7 +113,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = sizeof(USB_Audio_Descriptor_OutputTerminal_t)), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_InputTerminal = diff --git a/Demos/Device/LowLevel/MIDI/Descriptors.c b/Demos/Device/LowLevel/MIDI/Descriptors.c index 220d37dff..541ee8161 100644 --- a/Demos/Device/LowLevel/MIDI/Descriptors.c +++ b/Demos/Device/LowLevel/MIDI/Descriptors.c @@ -111,7 +111,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .TotalLength = sizeof(USB_Audio_Descriptor_Interface_AC_t), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_StreamInterface = diff --git a/Projects/MIDIToneGenerator/Descriptors.c b/Projects/MIDIToneGenerator/Descriptors.c index 220d37dff..541ee8161 100644 --- a/Projects/MIDIToneGenerator/Descriptors.c +++ b/Projects/MIDIToneGenerator/Descriptors.c @@ -111,7 +111,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .TotalLength = sizeof(USB_Audio_Descriptor_Interface_AC_t), .InCollection = 1, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_AudioStream, }, .Audio_StreamInterface = |