aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index 9d8cea48fc5f..4f482939e8e8 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -36,8 +36,17 @@
36#define MIXER_UNIT 0x04 36#define MIXER_UNIT 0x04
37#define SELECTOR_UNIT 0x05 37#define SELECTOR_UNIT 0x05
38#define FEATURE_UNIT 0x06 38#define FEATURE_UNIT 0x06
39#define PROCESSING_UNIT 0x07 39#define PROCESSING_UNIT_V1 0x07
40#define EXTENSION_UNIT 0x08 40#define EXTENSION_UNIT_V1 0x08
41
42/* audio class v2 */
43#define EFFECT_UNIT 0x07
44#define PROCESSING_UNIT_V2 0x08
45#define EXTENSION_UNIT_V2 0x09
46#define CLOCK_SOURCE 0x0a
47#define CLOCK_SELECTOR 0x0b
48#define CLOCK_MULTIPLIER 0x0c
49#define SAMPLE_RATE_CONVERTER 0x0d
41 50
42#define AS_GENERAL 0x01 51#define AS_GENERAL 0x01
43#define FORMAT_TYPE 0x02 52#define FORMAT_TYPE 0x02
@@ -60,7 +69,7 @@
60#define EP_CS_ATTR_PITCH_CONTROL 0x02 69#define EP_CS_ATTR_PITCH_CONTROL 0x02
61#define EP_CS_ATTR_FILL_MAX 0x80 70#define EP_CS_ATTR_FILL_MAX 0x80
62 71
63/* Audio Class specific Request Codes */ 72/* Audio Class specific Request Codes (v1) */
64 73
65#define SET_CUR 0x01 74#define SET_CUR 0x01
66#define GET_CUR 0x81 75#define GET_CUR 0x81
@@ -74,6 +83,10 @@
74#define GET_MEM 0x85 83#define GET_MEM 0x85
75#define GET_STAT 0xff 84#define GET_STAT 0xff
76 85
86/* Audio Class specific Request Codes (v2) */
87#define CS_CUR 0x01
88#define CS_RANGE 0x02
89
77/* Terminal Control Selectors */ 90/* Terminal Control Selectors */
78 91
79#define COPY_PROTECT_CONTROL 0x01 92#define COPY_PROTECT_CONTROL 0x01