aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/6fire/control.h
diff options
context:
space:
mode:
authorTorsten Schenk <torsten.schenk@zoho.com>2012-02-22 15:21:12 +0100
committerTakashi Iwai <tiwai@suse.de>2012-02-22 15:51:06 +0100
commitf90ffbf3c68a69714b4273b203d4deb5ae81d8d6 (patch)
treee725f3dac0af633e0cc683aa47dafac374b4a201 /sound/usb/6fire/control.h
parentALSA: snd-usb-6fire: add tlv to controls (diff)
downloadlinux-dev-f90ffbf3c68a69714b4273b203d4deb5ae81d8d6.tar.xz
linux-dev-f90ffbf3c68a69714b4273b203d4deb5ae81d8d6.zip
ALSA: snd-usb-6fire: add individual volume control for analog channels
Add a stereo volume control for every analog output pair 1/2, 3/4, 5/6. Signed-off-by: Torsten Schenk <torsten.schenk@zoho.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/6fire/control.h')
-rw-r--r--sound/usb/6fire/control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/6fire/control.h b/sound/usb/6fire/control.h
index 0dcb1d2f522c..ce024113c98f 100644
--- a/sound/usb/6fire/control.h
+++ b/sound/usb/6fire/control.h
@@ -43,7 +43,8 @@ struct control_runtime {
bool line_phono_switch;
bool digital_thru_switch;
bool usb_streaming;
- u8 master_vol;
+ u8 output_vol[6];
+ u8 ovol_updated;
};
int __devinit usb6fire_control_init(struct sfire_chip *chip);