diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-04-16 10:37:41 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-04-16 10:37:41 +0200 |
commit | f09d045e2a61d2fdae3d0127208f18c9f44acf80 (patch) | |
tree | edbe84444ac4e6f1d52aa87aef2e2e7d008fcb16 /sound/usb/urb.h | |
parent | dc57da3875f527b1cc195ea4ce5bd32e1e68433d (diff) | |
parent | 27762b2ce16d5c6f7bc8ab1aad1b9179076f997a (diff) | |
download | op-kernel-dev-f09d045e2a61d2fdae3d0127208f18c9f44acf80.zip op-kernel-dev-f09d045e2a61d2fdae3d0127208f18c9f44acf80.tar.gz |
Merge branch 'topic/usb' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into devel
Diffstat (limited to 'sound/usb/urb.h')
-rw-r--r-- | sound/usb/urb.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sound/usb/urb.h b/sound/usb/urb.h new file mode 100644 index 0000000..888da38 --- /dev/null +++ b/sound/usb/urb.h @@ -0,0 +1,21 @@ +#ifndef __USBAUDIO_URB_H +#define __USBAUDIO_URB_H + +void snd_usb_init_substream(struct snd_usb_stream *as, + int stream, + struct audioformat *fp); + +int snd_usb_init_substream_urbs(struct snd_usb_substream *subs, + unsigned int period_bytes, + unsigned int rate, + unsigned int frame_bits); + +void snd_usb_release_substream_urbs(struct snd_usb_substream *subs, int force); + +int snd_usb_substream_prepare(struct snd_usb_substream *subs, + struct snd_pcm_runtime *runtime); + +int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substream, int cmd); +int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream, int cmd); + +#endif /* __USBAUDIO_URB_H */ |