summaryrefslogtreecommitdiff
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)
6AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) 6AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
7#endif 7#endif
8 8
9// We want this, but the codec takes over a second to unmute!
10//#define AUDIOHW_MUTE_ON_PAUSE
11
12#if defined(XDUOO_X3II)
13/* The AK4490 glitches when switching sample rates */
14#define AUDIOHW_MUTE_ON_SRATE_CHANGE
15#endif
16
9void audiohw_mute(int mute); 17void audiohw_mute(int mute);
10void xduoo_set_output(int ps); 18void xduoo_set_output(int ps);
11int xduoo_get_outputs(void); 19int xduoo_get_outputs(void);