]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - sound/usb/pcm.h
UBUNTU: Ubuntu-5.11.0-22.23
[mirror_ubuntu-hirsute-kernel.git] / sound / usb / pcm.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
e5779998
DM
2#ifndef __USBAUDIO_PCM_H
3#define __USBAUDIO_PCM_H
4
294c4fb8
PLB
5snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
6 unsigned int rate);
7
e5779998 8void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
3f59aa11
JS
9int snd_usb_pcm_suspend(struct snd_usb_stream *as);
10int snd_usb_pcm_resume(struct snd_usb_stream *as);
e5779998 11
73037c8d 12int snd_usb_init_pitch(struct snd_usb_audio *chip,
cab941b7 13 const struct audioformat *fmt);
f274baa4 14void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
e5779998 15
f6581c0e
TI
16int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
17 struct audioformat *fmt);
e5779998
DM
18
19#endif /* __USBAUDIO_PCM_H */