summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-03-11 21:13:25 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-12 12:21:26 +0100
commit23caaf19b11eda7054348452e1618d4512a86907 (patch)
treede0f69f74931fb033f3291c27691a3c2ac6367a2 /sound/usb/mixer.h
parent99fc86450c439039d2ef88d06b222fd51a779176 (diff)
downloadlinux-23caaf19b11eda7054348452e1618d4512a86907.tar.bz2
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.h3
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 {
/* array[MAX_ID_ELEMS], indexed by unit id */
struct usb_mixer_elem_info **id_elems;
+ /* the usb audio specification version this interface complies to */
+ int protocol;
+
/* Sound Blaster remote control stuff */
const struct rc_config *rc_cfg;
u32 rc_code;