blob: 493a4e34d78dc21d9695a6eee4443e7679c6892d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Daniel Macke5779992010-03-04 19:46:13 +01002#ifndef __USBAUDIO_PCM_H
3#define __USBAUDIO_PCM_H
4
5void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
Jorge Sanjuan3f59aa12018-07-31 13:28:44 +01006int snd_usb_pcm_suspend(struct snd_usb_stream *as);
7int snd_usb_pcm_resume(struct snd_usb_stream *as);
Daniel Macke5779992010-03-04 19:46:13 +01008
Takashi Iwai73037c82020-11-23 09:53:26 +01009int snd_usb_init_pitch(struct snd_usb_audio *chip,
Takashi Iwaicab941b2020-11-23 09:53:33 +010010 const struct audioformat *fmt);
Takashi Iwaif274baa2018-05-27 13:01:17 +020011void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
Daniel Macke5779992010-03-04 19:46:13 +010012
Takashi Iwaif6581c02020-11-23 09:53:14 +010013int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip,
14 struct audioformat *fmt);
Daniel Macke5779992010-03-04 19:46:13 +010015
16#endif /* __USBAUDIO_PCM_H */