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 | |
| 5 | void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream); |
Jorge Sanjuan | 3f59aa1 | 2018-07-31 13:28:44 +0100 | [diff] [blame] | 6 | int snd_usb_pcm_suspend(struct snd_usb_stream *as); |
| 7 | int snd_usb_pcm_resume(struct snd_usb_stream *as); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 8 | |
Takashi Iwai | 73037c8 | 2020-11-23 09:53:26 +0100 | [diff] [blame] | 9 | int snd_usb_init_pitch(struct snd_usb_audio *chip, |
Takashi Iwai | cab941b | 2020-11-23 09:53:33 +0100 | [diff] [blame] | 10 | const struct audioformat *fmt); |
Takashi Iwai | f274baa | 2018-05-27 13:01:17 +0200 | [diff] [blame] | 11 | void snd_usb_preallocate_buffer(struct snd_usb_substream *subs); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 12 | |
Takashi Iwai | f6581c0 | 2020-11-23 09:53:14 +0100 | [diff] [blame] | 13 | int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip, |
| 14 | struct audioformat *fmt); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 15 | |
| 16 | #endif /* __USBAUDIO_PCM_H */ |