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