Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / sound / usb / pcm.h
blob06c586467d3ff95528cf7a538d2680b7661b1348
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_PCM_H
3 #define __USBAUDIO_PCM_H
5 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
6 unsigned int rate);
8 void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
9 int snd_usb_pcm_suspend(struct snd_usb_stream *as);
10 int snd_usb_pcm_resume(struct snd_usb_stream *as);
12 int snd_usb_init_pitch(struct snd_usb_audio *chip,
13 const struct audioformat *fmt);
14 void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
16 int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
17 struct audioformat *fmt);
19 #endif /* __USBAUDIO_PCM_H */