summaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sound/usb/clock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/usb/clock.h b/sound/usb/clock.h
new file mode 100644
index 000000000..68df0fbe0
--- /dev/null
+++ b/sound/usb/clock.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __USBAUDIO_CLOCK_H
+#define __USBAUDIO_CLOCK_H
+
+int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
+ struct usb_host_interface *alts,
+ struct audioformat *fmt, int rate);
+
+int snd_usb_clock_find_source(struct snd_usb_audio *chip,
+ struct audioformat *fmt, bool validate);
+
+#endif /* __USBAUDIO_CLOCK_H */