1
0
Fork 0
forked from len0rd/rockbox

Fix FS#12889 : Audible pop right after setting Repeat/Shuffle

The quickscreen calls settings_apply() and the crossfeed code wasn't
checking that the right crossfeed was set before updating the filter
for the custom setting, which was overwriting the Meier crossfeed
data (custom and Meier share the same data space).

Change-Id: Ifaa2f46fe062d4497681a2dd0d5068ec906c96a3
This commit is contained in:
Michael Sevakis 2013-08-16 09:28:36 -04:00
parent b662e3a2dc
commit b1209d4789

View file

@ -164,6 +164,9 @@ void dsp_set_crossfeed_cross_params(long lf_gain, long hf_gain, long cutoff)
crossfeed_hf_gain = hf_gain;
crossfeed_cutoff = cutoff;
if (crossfeed_type != CROSSFEED_TYPE_CUSTOM)
return;
struct dsp_config *dsp = dsp_get_config(CODEC_IDX_AUDIO);
crossfeed_custom_update_filter(&crossfeed_state,
dsp_get_output_frequency(dsp));