summaryrefslogtreecommitdiff
path: root/sound/usb/usbmixer.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-03-04 19:46:12 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-05 08:16:47 +0100
commit3e1aebef6fb55e35668d2d7cf608cf03f30c904f (patch)
tree51e92e89e84a67ec7ac177847e66d4b34a646ce3 /sound/usb/usbmixer.h
parentbc700ab1407864ebee838de53c9565a394f4da38 (diff)
downloadlwn-3e1aebef6fb55e35668d2d7cf608cf03f30c904f.tar.gz
lwn-3e1aebef6fb55e35668d2d7cf608cf03f30c904f.zip
ALSA: usb-audio: header file cleanups
Rename snd-usb-lib to snd-usbmidi-lib as MIDI functions are the only thing it actually contains. Introduce a new header file to only declare these functions. Introduced usbmixer.h for all functions exported by usbmixer.c. 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/usbmixer.h')
-rw-r--r--sound/usb/usbmixer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/usb/usbmixer.h b/sound/usb/usbmixer.h
new file mode 100644
index 000000000000..e199e4bb02f2
--- /dev/null
+++ b/sound/usb/usbmixer.h
@@ -0,0 +1,11 @@
+#ifndef __USBMIXER_H
+#define __USBMIXER_H
+
+int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
+ int ignore_error);
+void snd_usb_mixer_disconnect(struct list_head *p);
+
+void snd_emuusb_set_samplerate(struct snd_usb_audio *chip,
+ unsigned char samplerate_id);
+
+#endif /* __USBMIXER_H */