summaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sound/usb/clock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/usb/clock.h b/sound/usb/clock.h
new file mode 100644
index 000000000..ed9fc2dc0
--- /dev/null
+++ b/sound/usb/clock.h
@@ -0,0 +1,15 @@
+/* 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,
+ const struct audioformat *fmt, int rate);
+
+int snd_usb_clock_find_source(struct snd_usb_audio *chip,
+ const struct audioformat *fmt, bool validate);
+
+int snd_usb_set_sample_rate_v2v3(struct snd_usb_audio *chip,
+ const struct audioformat *fmt,
+ int clock, int rate);
+
+#endif /* __USBAUDIO_CLOCK_H */