From 2c3c1048746a4622d8c89a29670120dc8fab93c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:45 +0200 Subject: Adding upstream version 6.1.76. Signed-off-by: Daniel Baumann --- sound/usb/pcm.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sound/usb/pcm.h (limited to 'sound/usb/pcm.h') diff --git a/sound/usb/pcm.h b/sound/usb/pcm.h new file mode 100644 index 000000000..388fe2ba3 --- /dev/null +++ b/sound/usb/pcm.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __USBAUDIO_PCM_H +#define __USBAUDIO_PCM_H + +void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream); +int snd_usb_pcm_suspend(struct snd_usb_stream *as); +int snd_usb_pcm_resume(struct snd_usb_stream *as); + +bool snd_usb_pcm_has_fixed_rate(struct snd_usb_substream *as); + +int snd_usb_init_pitch(struct snd_usb_audio *chip, + const struct audioformat *fmt); +void snd_usb_preallocate_buffer(struct snd_usb_substream *subs); + +int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip, + struct audioformat *fmt); + +#endif /* __USBAUDIO_PCM_H */ -- cgit v1.2.3