aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/pcm.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-03-04 13:46:17 -0500
committerTakashi Iwai <tiwai@suse.de>2010-03-05 02:19:17 -0500
commit767d75ad1c08c31646498a13837a5c59db90ccad (patch)
tree2f9196d65f63e7da72904f98a46039946e575401 /sound/usb/pcm.h
parent29088fef3e3f62147c1dd53d764da4f04bf3188d (diff)
ALSA: usb-audio: add support for samplerate setting on v2 devices
Sample rate setting is done with a 4-byte long class request that addresses the interface. 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/pcm.h')
-rw-r--r--sound/usb/pcm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/pcm.h b/sound/usb/pcm.h
index 85856016e056..1c931b68f3b5 100644
--- a/sound/usb/pcm.h
+++ b/sound/usb/pcm.h
@@ -3,11 +3,11 @@
3 3
4void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream); 4void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
5 5
6int snd_usb_init_pitch(struct usb_device *dev, int iface, 6int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
7 struct usb_host_interface *alts, 7 struct usb_host_interface *alts,
8 struct audioformat *fmt); 8 struct audioformat *fmt);
9 9
10int snd_usb_init_sample_rate(struct usb_device *dev, int iface, 10int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
11 struct usb_host_interface *alts, 11 struct usb_host_interface *alts,
12 struct audioformat *fmt, int rate); 12 struct audioformat *fmt, int rate);
13 13