xref: /openbmc/linux/sound/usb/clock.h (revision 234489ac)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_CLOCK_H
3 #define __USBAUDIO_CLOCK_H
4 
5 int snd_usb_init_sample_rate(struct snd_usb_audio *chip,
6 			     const struct audioformat *fmt, int rate);
7 
8 int snd_usb_clock_find_source(struct snd_usb_audio *chip,
9 			      const struct audioformat *fmt, bool validate);
10 
11 int snd_usb_set_sample_rate_v2v3(struct snd_usb_audio *chip,
12 				 const struct audioformat *fmt,
13 				 int clock, int rate);
14 
15 #endif /* __USBAUDIO_CLOCK_H */
16