^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __USBAUDIO_PCM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __USBAUDIO_PCM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) unsigned int rate);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) int snd_usb_pcm_suspend(struct snd_usb_stream *as);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) int snd_usb_pcm_resume(struct snd_usb_stream *as);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct usb_host_interface *alts,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct audioformat *fmt);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int snd_usb_enable_audio_stream(struct snd_usb_substream *subs,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int datainterval, bool enable);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif /* __USBAUDIO_PCM_H */