diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-07-09 22:48:19 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-07-17 08:18:31 -0400 |
commit | cd17decd5a35c9b506bf8433ae56dda00f65ad61 (patch) | |
tree | ac64d4ff4a906d48ef21c94d9b6e00e30345fe90 /firmware/export | |
parent | ec31a2b4ad030dc2ab2a627484dce894a6d4e656 (diff) |
xduoox3ii: Add "Super Slow" filter roll-off
I'm not happy with the proliferation of filter-roll-off options
but I don't have a less ugly solution.
Change-Id: I740fca006fa0c3443a467acfea55b6574d48346b
Diffstat (limited to 'firmware/export')
-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 @@ #define AUDIOHW_CAPS (LINEOUT_CAP | FILTER_ROLL_OFF_CAP) AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -102*10, 0, -30*10) -AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) #endif // 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) #if defined(XDUOO_X3II) /* The AK4490 glitches when switching sample rates */ #define AUDIOHW_MUTE_ON_SRATE_CHANGE +AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 5, 0) +#define AUDIOHW_HAVE_SS_ROLL_OFF #endif #if defined(XDUOO_X20) //#define AUDIOHW_NEEDS_INITIAL_UNMUTE +AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) +#define AUDIOHW_HAVE_SHORT2_ROLL_OFF #endif void audiohw_mute(int mute); |