summaryrefslogtreecommitdiff
path: root/sound/usb/mixer_quirks.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-03-11 21:13:22 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-12 12:20:26 +0100
commit7b1eda223debcba706ab989a09c4eecb327aebdf (patch)
tree85a22d093120f4456bebfd0da938d727061942d5 /sound/usb/mixer_quirks.h
parent45d760567a7d773237b8996584a4ae0440d5e369 (diff)
ALSA: usb-mixer: factor out quirks
Move all non-standard mixer controls and vendor-specific extensions to a separate file. Some structs need to be exported now. 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_quirks.h')
-rw-r--r--sound/usb/mixer_quirks.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/usb/mixer_quirks.h b/sound/usb/mixer_quirks.h
new file mode 100644
index 000000000000..bdbfab093816
--- /dev/null
+++ b/sound/usb/mixer_quirks.h
@@ -0,0 +1,13 @@
+#ifndef SND_USB_MIXER_QUIRKS_H
+#define SND_USB_MIXER_QUIRKS_H
+
+int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer);
+
+void snd_emuusb_set_samplerate(struct snd_usb_audio *chip,
+ unsigned char samplerate_id);
+
+void snd_usb_mixer_rc_memory_change(struct usb_mixer_interface *mixer,
+ int unitid);
+
+#endif /* SND_USB_MIXER_QUIRKS_H */
+