https://github.com/torvalds/linux
Raw File
Tip revision: f8394f232b1eab649ce2df5c5f15b0e528c92091 authored by Linus Torvalds on 09 November 2020, 00:10:16 UTC
Linux 5.10-rc3
Tip revision: f8394f2
pcm.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __USBAUDIO_PCM_H
#define __USBAUDIO_PCM_H

snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
				    unsigned int rate);

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);

int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
		       struct usb_host_interface *alts,
		       struct audioformat *fmt);
void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);


#endif /* __USBAUDIO_PCM_H */
back to top