summaryrefslogtreecommitdiffstats
path: root/firmware/export/fiiolinux_codec.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-03 16:52:59 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-03 16:56:19 -0400
commit1916aca7f3e76dd5440a9fa22ef4ea623bda8512 (patch)
tree5a0fcb306cd357a68aeadcfb738685816d9d7f14 /firmware/export/fiiolinux_codec.h
parentc1d4bf290c5e745dc83b31da5dedf5e40a3589e4 (diff)
downloadrockbox-1916aca7f3e76dd5440a9fa22ef4ea623bda8512.tar.gz
rockbox-1916aca7f3e76dd5440a9fa22ef4ea623bda8512.tar.bz2
rockbox-1916aca7f3e76dd5440a9fa22ef4ea623bda8512.zip
imx233: Enable 96/192K playback for all imx233 targets that have room
Change-Id: Ief00cc9243af3168f0c088520936137b64f3b581
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);