mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
module-equalizer-sink: disable active profile name restoration as something in pack/unpack is funky and I don't have time for a
proper fix
This commit is contained in:
parent
97056d2a0e
commit
e895200169
1 changed files with 7 additions and 7 deletions
|
|
@ -978,13 +978,13 @@ static void load_state(struct userdata *u){
|
||||||
memcpy(u->Hs[c][a_i], H, FILTER_SIZE * sizeof(float));
|
memcpy(u->Hs[c][a_i], H, FILTER_SIZE * sizeof(float));
|
||||||
pa_aupdate_write_end(u->a_H[c]);
|
pa_aupdate_write_end(u->a_H[c]);
|
||||||
}
|
}
|
||||||
unpack(((char *)value.data) + FILTER_STATE_SIZE, value.size - FILTER_STATE_SIZE, &names, &n_profs);
|
//unpack(((char *)value.data) + FILTER_STATE_SIZE, value.size - FILTER_STATE_SIZE, &names, &n_profs);
|
||||||
n_profs = PA_MIN(n_profs, u->channels);
|
//n_profs = PA_MIN(n_profs, u->channels);
|
||||||
for(size_t c = 0; c < n_profs; ++c){
|
//for(size_t c = 0; c < n_profs; ++c){
|
||||||
pa_xfree(u->base_profiles[c]);
|
// pa_xfree(u->base_profiles[c]);
|
||||||
u->base_profiles[c] = names[c];
|
// u->base_profiles[c] = names[c];
|
||||||
}
|
//}
|
||||||
pa_xfree(names);
|
//pa_xfree(names);
|
||||||
}
|
}
|
||||||
pa_datum_free(&value);
|
pa_datum_free(&value);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue