mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:00:53 +07:00
767d75ad1c
Sample rate setting is done with a 4-byte long class request that addresses the interface. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 lines
435 B
C
15 lines
435 B
C
#ifndef __USBAUDIO_PCM_H
|
|
#define __USBAUDIO_PCM_H
|
|
|
|
void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
|
|
|
|
int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
|
|
struct usb_host_interface *alts,
|
|
struct audioformat *fmt);
|
|
|
|
int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
|
|
struct usb_host_interface *alts,
|
|
struct audioformat *fmt, int rate);
|
|
|
|
#endif /* __USBAUDIO_PCM_H */
|