ALSA: echoaudio: Remove incorrect part of assertion
[zen-stable.git] / sound / usb / endpoint.h
blob88eb63a636eb28fa3b0fc56e05340d4be581cd72
1 #ifndef __USBAUDIO_ENDPOINT_H
2 #define __USBAUDIO_ENDPOINT_H
4 void snd_usb_init_substream(struct snd_usb_stream *as,
5 int stream,
6 struct audioformat *fp);
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);
13 void snd_usb_release_substream_urbs(struct snd_usb_substream *subs, int force);
15 int snd_usb_substream_prepare(struct snd_usb_substream *subs,
16 struct snd_pcm_runtime *runtime);
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);
21 #endif /* __USBAUDIO_ENDPOINT_H */