summaryrefslogtreecommitdiffstats
path: root/firmware/export/xduoolinux_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/xduoolinux_codec.h')
-rw-r--r--firmware/export/xduoolinux_codec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/xduoolinux_codec.h b/firmware/export/xduoolinux_codec.h
new file mode 100644
index 0000000000..ccd49f09aa
--- /dev/null
+++ b/firmware/export/xduoolinux_codec.h
@@ -0,0 +1,7 @@
+#ifndef __XDUOOLINUX_CODEC__
+#define __XDUOOLINUX_CODEC__
+
+#define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP)
+AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -127, 0, -30)
+AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
+#endif