xref: /openbmc/linux/sound/usb/pcm.h (revision 8bd1369b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_PCM_H
3 #define __USBAUDIO_PCM_H
4 
5 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
6 				    unsigned int rate);
7 
8 void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
9 
10 int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
11 		       struct usb_host_interface *alts,
12 		       struct audioformat *fmt);
13 void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
14 
15 
16 #endif /* __USBAUDIO_PCM_H */
17