summaryrefslogtreecommitdiffstats
path: root/firmware/export/erosqlinux_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/erosqlinux_codec.h')
-rw-r--r--firmware/export/erosqlinux_codec.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/erosqlinux_codec.h b/firmware/export/erosqlinux_codec.h
new file mode 100644
index 0000000000..8a3afbfe3c
--- /dev/null
+++ b/firmware/export/erosqlinux_codec.h
@@ -0,0 +1,13 @@
+#ifndef __EROSQLINUX_CODEC__
+#define __EROSQLINUX_CODEC__
+
+#define AUDIOHW_CAPS (LINEOUT_CAP)
+
+AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -25)
+
+
+void audiohw_mute(int mute);
+void erosq_set_output(int ps);
+int erosq_get_outputs(void);
+
+#endif