diff options
Diffstat (limited to 'firmware/export/xduoolinux_codec.h')
-rw-r--r-- | firmware/export/xduoolinux_codec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/xduoolinux_codec.h b/firmware/export/xduoolinux_codec.h index 301a341f15..a5bdab0661 100644 --- a/firmware/export/xduoolinux_codec.h +++ b/firmware/export/xduoolinux_codec.h | |||
@@ -3,7 +3,6 @@ | |||
3 | 3 | ||
4 | #define AUDIOHW_CAPS (LINEOUT_CAP | FILTER_ROLL_OFF_CAP) | 4 | #define AUDIOHW_CAPS (LINEOUT_CAP | FILTER_ROLL_OFF_CAP) |
5 | AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -102*10, 0, -30*10) | 5 | AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -102*10, 0, -30*10) |
6 | AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) | ||
7 | #endif | 6 | #endif |
8 | 7 | ||
9 | // We want this, but the codec takes over a second to unmute! | 8 | // We want this, but the codec takes over a second to unmute! |
@@ -12,10 +11,14 @@ AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) | |||
12 | #if defined(XDUOO_X3II) | 11 | #if defined(XDUOO_X3II) |
13 | /* The AK4490 glitches when switching sample rates */ | 12 | /* The AK4490 glitches when switching sample rates */ |
14 | #define AUDIOHW_MUTE_ON_SRATE_CHANGE | 13 | #define AUDIOHW_MUTE_ON_SRATE_CHANGE |
14 | AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 5, 0) | ||
15 | #define AUDIOHW_HAVE_SS_ROLL_OFF | ||
15 | #endif | 16 | #endif |
16 | 17 | ||
17 | #if defined(XDUOO_X20) | 18 | #if defined(XDUOO_X20) |
18 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE | 19 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE |
20 | AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) | ||
21 | #define AUDIOHW_HAVE_SHORT2_ROLL_OFF | ||
19 | #endif | 22 | #endif |
20 | 23 | ||
21 | void audiohw_mute(int mute); | 24 | void audiohw_mute(int mute); |