xref: /linux/sound/usb/clock.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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