summaryrefslogtreecommitdiffstats
path: root/firmware/export/fiiolinux_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/fiiolinux_codec.h')
-rw-r--r--firmware/export/fiiolinux_codec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/fiiolinux_codec.h b/firmware/export/fiiolinux_codec.h
new file mode 100644
index 0000000000..22c2263046
--- /dev/null
+++ b/firmware/export/fiiolinux_codec.h
@@ -0,0 +1,9 @@
+#ifndef __FIIOLINUX_CODEC__
+#define __FIIOLINUX_CODEC__
+
+#define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP)
+AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -100, 0, -30)
+AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
+#endif
+
+void audiohw_mute(int mute);