blob: cdad728543aef3b87507c5f30a8168f7e2b26fe4 [file] [log] [blame]
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +10001/*
2 * <linux/usb/audio.h> -- USB Audio definitions.
3 *
4 * Copyright (C) 2006 Thumtronics Pty Ltd.
5 * Developed for Thumtronics by Grey Innovation
6 * Ben Williamson <ben.williamson@greyinnovation.com>
7 *
8 * This software is distributed under the terms of the GNU General Public
9 * License ("GPL") version 2, as published by the Free Software Foundation.
10 *
11 * This file holds USB constants and structures defined
12 * by the USB Device Class Definition for Audio Devices.
13 * Comments below reference relevant sections of that document:
14 *
15 * http://www.usb.org/developers/devclass_docs/audio10.pdf
Daniel Mack7e847892010-03-11 21:13:20 +010016 *
17 * Types and defines in this file are either specific to version 1.0 of
18 * this standard or common for newer versions.
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100019 */
20
21#ifndef __LINUX_USB_AUDIO_H
22#define __LINUX_USB_AUDIO_H
23
24#include <linux/types.h>
25
Daniel Mack7e847892010-03-11 21:13:20 +010026/* bInterfaceProtocol values to denote the version of the standard used */
27#define UAC_VERSION_1 0x00
28#define UAC_VERSION_2 0x20
29
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100030/* A.2 Audio Interface Subclass Codes */
31#define USB_SUBCLASS_AUDIOCONTROL 0x01
32#define USB_SUBCLASS_AUDIOSTREAMING 0x02
33#define USB_SUBCLASS_MIDISTREAMING 0x03
34
Laurent Pinchart512ad272009-06-21 23:23:05 +020035/* A.5 Audio Class-Specific AC Interface Descriptor Subtypes */
36#define UAC_HEADER 0x01
37#define UAC_INPUT_TERMINAL 0x02
38#define UAC_OUTPUT_TERMINAL 0x03
39#define UAC_MIXER_UNIT 0x04
40#define UAC_SELECTOR_UNIT 0x05
41#define UAC_FEATURE_UNIT 0x06
Daniel Mackde48c7b2010-02-22 23:49:13 +010042#define UAC_PROCESSING_UNIT_V1 0x07
43#define UAC_EXTENSION_UNIT_V1 0x08
44
Laurent Pinchart512ad272009-06-21 23:23:05 +020045/* A.6 Audio Class-Specific AS Interface Descriptor Subtypes */
46#define UAC_AS_GENERAL 0x01
47#define UAC_FORMAT_TYPE 0x02
48#define UAC_FORMAT_SPECIFIC 0x03
Bryan Wuc47d7b092009-06-03 09:17:57 -040049
Laurent Pinchart512ad272009-06-21 23:23:05 +020050/* A.8 Audio Class-Specific Endpoint Descriptor Subtypes */
51#define UAC_EP_GENERAL 0x01
Bryan Wuc47d7b092009-06-03 09:17:57 -040052
Laurent Pinchart512ad272009-06-21 23:23:05 +020053/* A.9 Audio Class-Specific Request Codes */
54#define UAC_SET_ 0x00
55#define UAC_GET_ 0x80
Bryan Wuc47d7b092009-06-03 09:17:57 -040056
Laurent Pinchart512ad272009-06-21 23:23:05 +020057#define UAC__CUR 0x1
58#define UAC__MIN 0x2
59#define UAC__MAX 0x3
60#define UAC__RES 0x4
61#define UAC__MEM 0x5
Bryan Wuc47d7b092009-06-03 09:17:57 -040062
Laurent Pinchart512ad272009-06-21 23:23:05 +020063#define UAC_SET_CUR (UAC_SET_ | UAC__CUR)
64#define UAC_GET_CUR (UAC_GET_ | UAC__CUR)
65#define UAC_SET_MIN (UAC_SET_ | UAC__MIN)
66#define UAC_GET_MIN (UAC_GET_ | UAC__MIN)
67#define UAC_SET_MAX (UAC_SET_ | UAC__MAX)
68#define UAC_GET_MAX (UAC_GET_ | UAC__MAX)
69#define UAC_SET_RES (UAC_SET_ | UAC__RES)
70#define UAC_GET_RES (UAC_GET_ | UAC__RES)
71#define UAC_SET_MEM (UAC_SET_ | UAC__MEM)
72#define UAC_GET_MEM (UAC_GET_ | UAC__MEM)
Bryan Wuc47d7b092009-06-03 09:17:57 -040073
Laurent Pinchart512ad272009-06-21 23:23:05 +020074#define UAC_GET_STAT 0xff
Bryan Wuc47d7b092009-06-03 09:17:57 -040075
Laurent Pinchart512ad272009-06-21 23:23:05 +020076/* MIDI - A.1 MS Class-Specific Interface Descriptor Subtypes */
77#define UAC_MS_HEADER 0x01
78#define UAC_MIDI_IN_JACK 0x02
79#define UAC_MIDI_OUT_JACK 0x03
Bryan Wuc47d7b092009-06-03 09:17:57 -040080
Laurent Pinchart512ad272009-06-21 23:23:05 +020081/* MIDI - A.1 MS Class-Specific Endpoint Descriptor Subtypes */
82#define UAC_MS_GENERAL 0x01
Bryan Wuc47d7b092009-06-03 09:17:57 -040083
Laurent Pinchart512ad272009-06-21 23:23:05 +020084/* Terminals - 2.1 USB Terminal Types */
85#define UAC_TERMINAL_UNDEFINED 0x100
86#define UAC_TERMINAL_STREAMING 0x101
87#define UAC_TERMINAL_VENDOR_SPEC 0x1FF
Bryan Wuc47d7b092009-06-03 09:17:57 -040088
89/* Terminal Control Selectors */
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100090/* 4.3.2 Class-Specific AC Interface Descriptor */
Daniel Mack28e1b772010-02-22 23:49:09 +010091struct uac_ac_header_descriptor_v1 {
Bryan Wuc47d7b092009-06-03 09:17:57 -040092 __u8 bLength; /* 8 + n */
Greg Kroah-Hartman41dceed2008-01-30 15:21:33 -080093 __u8 bDescriptorType; /* USB_DT_CS_INTERFACE */
Laurent Pinchart512ad272009-06-21 23:23:05 +020094 __u8 bDescriptorSubtype; /* UAC_MS_HEADER */
Greg Kroah-Hartman41dceed2008-01-30 15:21:33 -080095 __le16 bcdADC; /* 0x0100 */
96 __le16 wTotalLength; /* includes Unit and Terminal desc. */
97 __u8 bInCollection; /* n */
98 __u8 baInterfaceNr[]; /* [n] */
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100099} __attribute__ ((packed));
100
Laurent Pinchart512ad272009-06-21 23:23:05 +0200101#define UAC_DT_AC_HEADER_SIZE(n) (8 + (n))
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +1000102
103/* As above, but more useful for defining your own descriptors: */
Laurent Pinchart512ad272009-06-21 23:23:05 +0200104#define DECLARE_UAC_AC_HEADER_DESCRIPTOR(n) \
Daniel Mack28e1b772010-02-22 23:49:09 +0100105struct uac_ac_header_descriptor_v1_##n { \
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +1000106 __u8 bLength; \
107 __u8 bDescriptorType; \
108 __u8 bDescriptorSubtype; \
109 __le16 bcdADC; \
110 __le16 wTotalLength; \
111 __u8 bInCollection; \
112 __u8 baInterfaceNr[n]; \
113} __attribute__ ((packed))
114
Bryan Wuc47d7b092009-06-03 09:17:57 -0400115/* 4.3.2.1 Input Terminal Descriptor */
Laurent Pinchart512ad272009-06-21 23:23:05 +0200116struct uac_input_terminal_descriptor {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400117 __u8 bLength; /* in bytes: 12 */
118 __u8 bDescriptorType; /* CS_INTERFACE descriptor type */
119 __u8 bDescriptorSubtype; /* INPUT_TERMINAL descriptor subtype */
120 __u8 bTerminalID; /* Constant uniquely terminal ID */
121 __le16 wTerminalType; /* USB Audio Terminal Types */
122 __u8 bAssocTerminal; /* ID of the Output Terminal associated */
123 __u8 bNrChannels; /* Number of logical output channels */
124 __le16 wChannelConfig;
125 __u8 iChannelNames;
126 __u8 iTerminal;
127} __attribute__ ((packed));
128
Laurent Pinchart512ad272009-06-21 23:23:05 +0200129#define UAC_DT_INPUT_TERMINAL_SIZE 12
Bryan Wuc47d7b092009-06-03 09:17:57 -0400130
Laurent Pinchart512ad272009-06-21 23:23:05 +0200131/* Terminals - 2.2 Input Terminal Types */
132#define UAC_INPUT_TERMINAL_UNDEFINED 0x200
133#define UAC_INPUT_TERMINAL_MICROPHONE 0x201
134#define UAC_INPUT_TERMINAL_DESKTOP_MICROPHONE 0x202
135#define UAC_INPUT_TERMINAL_PERSONAL_MICROPHONE 0x203
136#define UAC_INPUT_TERMINAL_OMNI_DIR_MICROPHONE 0x204
137#define UAC_INPUT_TERMINAL_MICROPHONE_ARRAY 0x205
138#define UAC_INPUT_TERMINAL_PROC_MICROPHONE_ARRAY 0x206
Bryan Wuc47d7b092009-06-03 09:17:57 -0400139
Daniel Mackde48c7b2010-02-22 23:49:13 +0100140/* Terminals - control selectors */
141
142#define UAC_TERMINAL_CS_COPY_PROTECT_CONTROL 0x01
143
Bryan Wuc47d7b092009-06-03 09:17:57 -0400144/* 4.3.2.2 Output Terminal Descriptor */
Daniel Mack28e1b772010-02-22 23:49:09 +0100145struct uac_output_terminal_descriptor_v1 {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400146 __u8 bLength; /* in bytes: 9 */
147 __u8 bDescriptorType; /* CS_INTERFACE descriptor type */
148 __u8 bDescriptorSubtype; /* OUTPUT_TERMINAL descriptor subtype */
149 __u8 bTerminalID; /* Constant uniquely terminal ID */
150 __le16 wTerminalType; /* USB Audio Terminal Types */
151 __u8 bAssocTerminal; /* ID of the Input Terminal associated */
152 __u8 bSourceID; /* ID of the connected Unit or Terminal*/
153 __u8 iTerminal;
154} __attribute__ ((packed));
155
Laurent Pinchart512ad272009-06-21 23:23:05 +0200156#define UAC_DT_OUTPUT_TERMINAL_SIZE 9
Bryan Wuc47d7b092009-06-03 09:17:57 -0400157
Laurent Pinchart512ad272009-06-21 23:23:05 +0200158/* Terminals - 2.3 Output Terminal Types */
159#define UAC_OUTPUT_TERMINAL_UNDEFINED 0x300
160#define UAC_OUTPUT_TERMINAL_SPEAKER 0x301
161#define UAC_OUTPUT_TERMINAL_HEADPHONES 0x302
162#define UAC_OUTPUT_TERMINAL_HEAD_MOUNTED_DISPLAY_AUDIO 0x303
163#define UAC_OUTPUT_TERMINAL_DESKTOP_SPEAKER 0x304
164#define UAC_OUTPUT_TERMINAL_ROOM_SPEAKER 0x305
165#define UAC_OUTPUT_TERMINAL_COMMUNICATION_SPEAKER 0x306
166#define UAC_OUTPUT_TERMINAL_LOW_FREQ_EFFECTS_SPEAKER 0x307
Bryan Wuc47d7b092009-06-03 09:17:57 -0400167
168/* Set bControlSize = 2 as default setting */
Laurent Pinchart512ad272009-06-21 23:23:05 +0200169#define UAC_DT_FEATURE_UNIT_SIZE(ch) (7 + ((ch) + 1) * 2)
Bryan Wuc47d7b092009-06-03 09:17:57 -0400170
171/* As above, but more useful for defining your own descriptors: */
Laurent Pinchart512ad272009-06-21 23:23:05 +0200172#define DECLARE_UAC_FEATURE_UNIT_DESCRIPTOR(ch) \
173struct uac_feature_unit_descriptor_##ch { \
Bryan Wuc47d7b092009-06-03 09:17:57 -0400174 __u8 bLength; \
175 __u8 bDescriptorType; \
176 __u8 bDescriptorSubtype; \
177 __u8 bUnitID; \
178 __u8 bSourceID; \
179 __u8 bControlSize; \
180 __le16 bmaControls[ch + 1]; \
181 __u8 iFeature; \
182} __attribute__ ((packed))
183
184/* 4.5.2 Class-Specific AS Interface Descriptor */
Daniel Mack28e1b772010-02-22 23:49:09 +0100185struct uac_as_header_descriptor_v1 {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400186 __u8 bLength; /* in bytes: 7 */
187 __u8 bDescriptorType; /* USB_DT_CS_INTERFACE */
188 __u8 bDescriptorSubtype; /* AS_GENERAL */
189 __u8 bTerminalLink; /* Terminal ID of connected Terminal */
190 __u8 bDelay; /* Delay introduced by the data path */
191 __le16 wFormatTag; /* The Audio Data Format */
192} __attribute__ ((packed));
193
Laurent Pinchart512ad272009-06-21 23:23:05 +0200194#define UAC_DT_AS_HEADER_SIZE 7
Bryan Wuc47d7b092009-06-03 09:17:57 -0400195
Laurent Pinchart512ad272009-06-21 23:23:05 +0200196/* Formats - A.1.1 Audio Data Format Type I Codes */
197#define UAC_FORMAT_TYPE_I_UNDEFINED 0x0
198#define UAC_FORMAT_TYPE_I_PCM 0x1
199#define UAC_FORMAT_TYPE_I_PCM8 0x2
200#define UAC_FORMAT_TYPE_I_IEEE_FLOAT 0x3
201#define UAC_FORMAT_TYPE_I_ALAW 0x4
202#define UAC_FORMAT_TYPE_I_MULAW 0x5
Bryan Wuc47d7b092009-06-03 09:17:57 -0400203
Laurent Pinchart512ad272009-06-21 23:23:05 +0200204struct uac_format_type_i_continuous_descriptor {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400205 __u8 bLength; /* in bytes: 8 + (ns * 3) */
206 __u8 bDescriptorType; /* USB_DT_CS_INTERFACE */
207 __u8 bDescriptorSubtype; /* FORMAT_TYPE */
208 __u8 bFormatType; /* FORMAT_TYPE_1 */
209 __u8 bNrChannels; /* physical channels in the stream */
210 __u8 bSubframeSize; /* */
211 __u8 bBitResolution;
212 __u8 bSamFreqType;
213 __u8 tLowerSamFreq[3];
214 __u8 tUpperSamFreq[3];
215} __attribute__ ((packed));
216
Laurent Pinchart512ad272009-06-21 23:23:05 +0200217#define UAC_FORMAT_TYPE_I_CONTINUOUS_DESC_SIZE 14
Bryan Wuc47d7b092009-06-03 09:17:57 -0400218
Laurent Pinchart512ad272009-06-21 23:23:05 +0200219struct uac_format_type_i_discrete_descriptor {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400220 __u8 bLength; /* in bytes: 8 + (ns * 3) */
221 __u8 bDescriptorType; /* USB_DT_CS_INTERFACE */
222 __u8 bDescriptorSubtype; /* FORMAT_TYPE */
223 __u8 bFormatType; /* FORMAT_TYPE_1 */
224 __u8 bNrChannels; /* physical channels in the stream */
225 __u8 bSubframeSize; /* */
226 __u8 bBitResolution;
227 __u8 bSamFreqType;
228 __u8 tSamFreq[][3];
229} __attribute__ ((packed));
230
Laurent Pinchart512ad272009-06-21 23:23:05 +0200231#define DECLARE_UAC_FORMAT_TYPE_I_DISCRETE_DESC(n) \
232struct uac_format_type_i_discrete_descriptor_##n { \
Bryan Wuc47d7b092009-06-03 09:17:57 -0400233 __u8 bLength; \
234 __u8 bDescriptorType; \
235 __u8 bDescriptorSubtype; \
236 __u8 bFormatType; \
237 __u8 bNrChannels; \
238 __u8 bSubframeSize; \
239 __u8 bBitResolution; \
240 __u8 bSamFreqType; \
241 __u8 tSamFreq[n][3]; \
242} __attribute__ ((packed))
243
Laurent Pinchart512ad272009-06-21 23:23:05 +0200244#define UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(n) (8 + (n * 3))
Bryan Wuc47d7b092009-06-03 09:17:57 -0400245
Daniel Mack8fee4af2010-02-22 23:49:10 +0100246struct uac_format_type_i_ext_descriptor {
247 __u8 bLength;
248 __u8 bDescriptorType;
249 __u8 bDescriptorSubtype;
Daniel Mack8fee4af2010-02-22 23:49:10 +0100250 __u8 bFormatType;
Daniel Mack2b9ddcb2010-03-04 19:46:18 +0100251 __u8 bSubslotSize;
Daniel Mack8fee4af2010-02-22 23:49:10 +0100252 __u8 bBitResolution;
253 __u8 bHeaderLength;
254 __u8 bControlSize;
255 __u8 bSideBandProtocol;
256} __attribute__((packed));
257
Daniel Mack28e1b772010-02-22 23:49:09 +0100258/* Formats - Audio Data Format Type I Codes */
259
Daniel Mackde48c7b2010-02-22 23:49:13 +0100260#define UAC_FORMAT_TYPE_II_MPEG 0x1001
261#define UAC_FORMAT_TYPE_II_AC3 0x1002
262
Daniel Mack28e1b772010-02-22 23:49:09 +0100263struct uac_format_type_ii_discrete_descriptor {
264 __u8 bLength;
265 __u8 bDescriptorType;
266 __u8 bDescriptorSubtype;
267 __u8 bFormatType;
268 __le16 wMaxBitRate;
269 __le16 wSamplesPerFrame;
270 __u8 bSamFreqType;
271 __u8 tSamFreq[][3];
272} __attribute__((packed));
273
Daniel Mack8fee4af2010-02-22 23:49:10 +0100274struct uac_format_type_ii_ext_descriptor {
275 __u8 bLength;
276 __u8 bDescriptorType;
277 __u8 bDescriptorSubtype;
278 __u8 bFormatType;
279 __u16 wMaxBitRate;
280 __u16 wSamplesPerFrame;
281 __u8 bHeaderLength;
282 __u8 bSideBandProtocol;
283} __attribute__((packed));
284
Daniel Mackde48c7b2010-02-22 23:49:13 +0100285/* type III */
286#define UAC_FORMAT_TYPE_III_IEC1937_AC3 0x2001
287#define UAC_FORMAT_TYPE_III_IEC1937_MPEG1_LAYER1 0x2002
288#define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_NOEXT 0x2003
289#define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_EXT 0x2004
290#define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_LAYER1_LS 0x2005
291#define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_LAYER23_LS 0x2006
Daniel Mack8fee4af2010-02-22 23:49:10 +0100292
Laurent Pinchart512ad272009-06-21 23:23:05 +0200293/* Formats - A.2 Format Type Codes */
294#define UAC_FORMAT_TYPE_UNDEFINED 0x0
295#define UAC_FORMAT_TYPE_I 0x1
296#define UAC_FORMAT_TYPE_II 0x2
297#define UAC_FORMAT_TYPE_III 0x3
Daniel Mack8fee4af2010-02-22 23:49:10 +0100298#define UAC_EXT_FORMAT_TYPE_I 0x81
299#define UAC_EXT_FORMAT_TYPE_II 0x82
300#define UAC_EXT_FORMAT_TYPE_III 0x83
Bryan Wuc47d7b092009-06-03 09:17:57 -0400301
Laurent Pinchart512ad272009-06-21 23:23:05 +0200302struct uac_iso_endpoint_descriptor {
Bryan Wuc47d7b092009-06-03 09:17:57 -0400303 __u8 bLength; /* in bytes: 7 */
304 __u8 bDescriptorType; /* USB_DT_CS_ENDPOINT */
305 __u8 bDescriptorSubtype; /* EP_GENERAL */
306 __u8 bmAttributes;
307 __u8 bLockDelayUnits;
308 __le16 wLockDelay;
309};
Laurent Pinchart512ad272009-06-21 23:23:05 +0200310#define UAC_ISO_ENDPOINT_DESC_SIZE 7
Bryan Wuc47d7b092009-06-03 09:17:57 -0400311
Laurent Pinchart512ad272009-06-21 23:23:05 +0200312#define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01
313#define UAC_EP_CS_ATTR_PITCH_CONTROL 0x02
314#define UAC_EP_CS_ATTR_FILL_MAX 0x80
Bryan Wuc47d7b092009-06-03 09:17:57 -0400315
Laurent Pinchart512ad272009-06-21 23:23:05 +0200316/* A.10.2 Feature Unit Control Selectors */
Daniel Mack28e1b772010-02-22 23:49:09 +0100317
318struct uac_feature_unit_descriptor {
319 __u8 bLength;
320 __u8 bDescriptorType;
321 __u8 bDescriptorSubtype;
322 __u8 bUnitID;
323 __u8 bSourceID;
324 __u8 bControlSize;
325 __u8 controls[0]; /* variable length */
326} __attribute__((packed));
327
Laurent Pinchart512ad272009-06-21 23:23:05 +0200328#define UAC_FU_CONTROL_UNDEFINED 0x00
329#define UAC_MUTE_CONTROL 0x01
330#define UAC_VOLUME_CONTROL 0x02
331#define UAC_BASS_CONTROL 0x03
332#define UAC_MID_CONTROL 0x04
333#define UAC_TREBLE_CONTROL 0x05
334#define UAC_GRAPHIC_EQUALIZER_CONTROL 0x06
335#define UAC_AUTOMATIC_GAIN_CONTROL 0x07
336#define UAC_DELAY_CONTROL 0x08
337#define UAC_BASS_BOOST_CONTROL 0x09
338#define UAC_LOUDNESS_CONTROL 0x0a
339
340#define UAC_FU_MUTE (1 << (UAC_MUTE_CONTROL - 1))
341#define UAC_FU_VOLUME (1 << (UAC_VOLUME_CONTROL - 1))
342#define UAC_FU_BASS (1 << (UAC_BASS_CONTROL - 1))
343#define UAC_FU_MID (1 << (UAC_MID_CONTROL - 1))
344#define UAC_FU_TREBLE (1 << (UAC_TREBLE_CONTROL - 1))
345#define UAC_FU_GRAPHIC_EQ (1 << (UAC_GRAPHIC_EQUALIZER_CONTROL - 1))
346#define UAC_FU_AUTO_GAIN (1 << (UAC_AUTOMATIC_GAIN_CONTROL - 1))
347#define UAC_FU_DELAY (1 << (UAC_DELAY_CONTROL - 1))
348#define UAC_FU_BASS_BOOST (1 << (UAC_BASS_BOOST_CONTROL - 1))
349#define UAC_FU_LOUDNESS (1 << (UAC_LOUDNESS_CONTROL - 1))
Bryan Wuc47d7b092009-06-03 09:17:57 -0400350
Michael S. Tsirkinc3501302009-07-29 14:23:25 +0300351#ifdef __KERNEL__
352
Bryan Wuc47d7b092009-06-03 09:17:57 -0400353struct usb_audio_control {
354 struct list_head list;
355 const char *name;
356 u8 type;
357 int data[5];
358 int (*set)(struct usb_audio_control *con, u8 cmd, int value);
359 int (*get)(struct usb_audio_control *con, u8 cmd);
360};
361
Bryan Wuc47d7b092009-06-03 09:17:57 -0400362struct usb_audio_control_selector {
363 struct list_head list;
364 struct list_head control;
365 u8 id;
366 const char *name;
367 u8 type;
368 struct usb_descriptor_header *desc;
369};
370
Michael S. Tsirkinc3501302009-07-29 14:23:25 +0300371#endif /* __KERNEL__ */
372
Robert P. J. Daydda43a02008-03-07 13:45:32 -0500373#endif /* __LINUX_USB_AUDIO_H */