diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-03-11 15:13:25 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-12 06:21:26 -0500 |
commit | 23caaf19b11eda7054348452e1618d4512a86907 (patch) | |
tree | de0f69f74931fb033f3291c27691a3c2ac6367a2 /sound/usb/mixer.h | |
parent | 99fc86450c439039d2ef88d06b222fd51a779176 (diff) |
ALSA: usb-mixer: Add support for Audio Class v2.0
USB Audio Class v2.0 compliant devices have different descriptors and a
different way of setting/getting min/max/res/cur properties. This patch
adds support for them.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer.h')
-rw-r--r-- | sound/usb/mixer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h index 63101ae201cc..130123854a6c 100644 --- a/sound/usb/mixer.h +++ b/sound/usb/mixer.h | |||
@@ -10,6 +10,9 @@ struct usb_mixer_interface { | |||
10 | /* array[MAX_ID_ELEMS], indexed by unit id */ | 10 | /* array[MAX_ID_ELEMS], indexed by unit id */ |
11 | struct usb_mixer_elem_info **id_elems; | 11 | struct usb_mixer_elem_info **id_elems; |
12 | 12 | ||
13 | /* the usb audio specification version this interface complies to */ | ||
14 | int protocol; | ||
15 | |||
13 | /* Sound Blaster remote control stuff */ | 16 | /* Sound Blaster remote control stuff */ |
14 | const struct rc_config *rc_cfg; | 17 | const struct rc_config *rc_cfg; |
15 | u32 rc_code; | 18 | u32 rc_code; |