Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 2 | #ifndef __USBAUDIO_PCM_H |
| 3 | #define __USBAUDIO_PCM_H |
| 4 | |
Pierre-Louis Bossart | 294c4fb | 2011-09-06 19:15:34 -0500 | [diff] [blame] | 5 | snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs, |
| 6 | unsigned int rate); |
| 7 | |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 8 | void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream); |
Jorge Sanjuan | 3f59aa1 | 2018-07-31 13:28:44 +0100 | [diff] [blame] | 9 | int snd_usb_pcm_suspend(struct snd_usb_stream *as); |
| 10 | int snd_usb_pcm_resume(struct snd_usb_stream *as); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 11 | |
Daniel Mack | 767d75a | 2010-03-04 19:46:17 +0100 | [diff] [blame] | 12 | int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface, |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 13 | struct usb_host_interface *alts, |
| 14 | struct audioformat *fmt); |
Takashi Iwai | f274baa | 2018-05-27 13:01:17 +0200 | [diff] [blame] | 15 | void snd_usb_preallocate_buffer(struct snd_usb_substream *subs); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 16 | |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 17 | |
| 18 | #endif /* __USBAUDIO_PCM_H */ |