diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /sound/usb/urb.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
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 00000000000..888da38079c --- /dev/null +++ b/sound/usb/urb.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #ifndef __USBAUDIO_URB_H | ||
| 2 | #define __USBAUDIO_URB_H | ||
| 3 | |||
| 4 | void snd_usb_init_substream(struct snd_usb_stream *as, | ||
| 5 | int stream, | ||
| 6 | struct audioformat *fp); | ||
| 7 | |||
| 8 | int snd_usb_init_substream_urbs(struct snd_usb_substream *subs, | ||
| 9 | unsigned int period_bytes, | ||
| 10 | unsigned int rate, | ||
| 11 | unsigned int frame_bits); | ||
| 12 | |||
| 13 | void snd_usb_release_substream_urbs(struct snd_usb_substream *subs, int force); | ||
| 14 | |||
| 15 | int snd_usb_substream_prepare(struct snd_usb_substream *subs, | ||
| 16 | struct snd_pcm_runtime *runtime); | ||
| 17 | |||
| 18 | int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substream, int cmd); | ||
| 19 | int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream, int cmd); | ||
| 20 | |||
| 21 | #endif /* __USBAUDIO_URB_H */ | ||
