diff options
Diffstat (limited to 'sound/usb/endpoint.h')
-rw-r--r-- | sound/usb/endpoint.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/sound/usb/endpoint.h b/sound/usb/endpoint.h index 64dd0db023b2..88eb63a636eb 100644 --- a/sound/usb/endpoint.h +++ b/sound/usb/endpoint.h | |||
@@ -1,11 +1,21 @@ | |||
1 | #ifndef __USBAUDIO_ENDPOINT_H | 1 | #ifndef __USBAUDIO_ENDPOINT_H |
2 | #define __USBAUDIO_ENDPOINT_H | 2 | #define __USBAUDIO_ENDPOINT_H |
3 | 3 | ||
4 | int snd_usb_parse_audio_endpoints(struct snd_usb_audio *chip, | 4 | void snd_usb_init_substream(struct snd_usb_stream *as, |
5 | int iface_no); | 5 | int stream, |
6 | struct audioformat *fp); | ||
6 | 7 | ||
7 | int snd_usb_add_audio_endpoint(struct snd_usb_audio *chip, | 8 | int snd_usb_init_substream_urbs(struct snd_usb_substream *subs, |
8 | int stream, | 9 | unsigned int period_bytes, |
9 | struct audioformat *fp); | 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); | ||
10 | 20 | ||
11 | #endif /* __USBAUDIO_ENDPOINT_H */ | 21 | #endif /* __USBAUDIO_ENDPOINT_H */ |