urb.h 696 B

12345678910111213141516171819202122
  1. #ifndef __USBAUDIO_URB_H
  2. #define __USBAUDIO_URB_H
  3. void snd_usb_init_substream(struct snd_usb_stream *as,
  4. int stream,
  5. struct audioformat *fp);
  6. int snd_usb_init_substream_urbs(struct snd_usb_substream *subs,
  7. unsigned int period_bytes,
  8. unsigned int rate,
  9. unsigned int frame_bits);
  10. void snd_usb_release_substream_urbs(struct snd_usb_substream *subs, int force);
  11. int snd_usb_substream_prepare(struct snd_usb_substream *subs,
  12. struct snd_pcm_runtime *runtime);
  13. int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substream, int cmd);
  14. int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream, int cmd);
  15. #endif /* __USBAUDIO_URB_H */