1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_PCM_H
3 #define __USBAUDIO_PCM_H
4 
5 void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
6 int snd_usb_pcm_suspend(struct snd_usb_stream *as);
7 int snd_usb_pcm_resume(struct snd_usb_stream *as);
8 
9 int snd_usb_init_pitch(struct snd_usb_audio *chip,
10 		       const struct audioformat *fmt);
11 void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
12 
13 int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
14 				    struct audioformat *fmt);
15 
16 #endif /* __USBAUDIO_PCM_H */
17