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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/xduoolinux_codec.h b/firmware/export/xduoolinux_codec.h
index a46976d386..09609d477c 100644
--- a/firmware/export/xduoolinux_codec.h
+++ b/firmware/export/xduoolinux_codec.h
@@ -6,6 +6,14 @@ AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -127, 0, -30)
AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
#endif
+// We want this, but the codec takes over a second to unmute!
+//#define AUDIOHW_MUTE_ON_PAUSE
+
+#if defined(XDUOO_X3II)
+/* The AK4490 glitches when switching sample rates */
+#define AUDIOHW_MUTE_ON_SRATE_CHANGE
+#endif
+
void audiohw_mute(int mute);
void xduoo_set_output(int ps);
int xduoo_get_outputs(void);