FILE
pcm.h
File preview with syntax highlighting.
linux-6.19.14/sound/usb/pcm.h
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __USBAUDIO_PCM_H 3#define __USBAUDIO_PCM_H 4 5void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream); 6int snd_usb_pcm_suspend(struct snd_usb_stream *as); 7int snd_usb_pcm_resume(struct snd_usb_stream *as); 8 9bool snd_usb_pcm_has_fixed_rate(struct snd_usb_substream *as); 10 11int snd_usb_init_pitch(struct snd_usb_audio *chip, 12 const struct audioformat *fmt); 13void snd_usb_preallocate_buffer(struct snd_usb_substream *subs); 14 15int snd_usb_audioformat_set_sync_ep(struct snd_usb_audio *chip, 16 struct audioformat *fmt); 17 18const struct audioformat * 19snd_usb_find_format(struct list_head *fmt_list_head, snd_pcm_format_t format, 20 unsigned int rate, unsigned int channels, bool strict_match, 21 struct snd_usb_substream *subs); 22const struct audioformat * 23snd_usb_find_substream_format(struct snd_usb_substream *subs, 24 const struct snd_pcm_hw_params *params); 25 26int snd_usb_hw_params(struct snd_usb_substream *subs, 27 struct snd_pcm_hw_params *hw_params); 28int snd_usb_hw_free(struct snd_usb_substream *subs); 29#endif /* __USBAUDIO_PCM_H */
~/
Read-only file preview.