summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Newton <nevion@gmail.com>2009-09-19 11:15:05 -0700
committerJason Newton <nevion@gmail.com>2009-10-02 02:14:56 -0700
commite8952001699317952318918835252f63c7a899f9 (patch)
treea9f4e3f463a7b541087546630fd8dbb99b6a7d67
parent97056d2a0e4364fad86f4be5e26625592aef3d55 (diff)
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
-rwxr-xr-xsrc/modules/module-equalizer-sink.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c
index 74d7497b..3a28b497 100755
--- a/src/modules/module-equalizer-sink.c
+++ b/src/modules/module-equalizer-sink.c
@@ -978,13 +978,13 @@ static void load_state(struct userdata *u){
memcpy(u->Hs[c][a_i], H, FILTER_SIZE * sizeof(float));
pa_aupdate_write_end(u->a_H[c]);
}
- unpack(((char *)value.data) + FILTER_STATE_SIZE, value.size - FILTER_STATE_SIZE, &names, &n_profs);
- n_profs = PA_MIN(n_profs, u->channels);
- for(size_t c = 0; c < n_profs; ++c){
- pa_xfree(u->base_profiles[c]);
- u->base_profiles[c] = names[c];
- }
- pa_xfree(names);
+ //unpack(((char *)value.data) + FILTER_STATE_SIZE, value.size - FILTER_STATE_SIZE, &names, &n_profs);
+ //n_profs = PA_MIN(n_profs, u->channels);
+ //for(size_t c = 0; c < n_profs; ++c){
+ // pa_xfree(u->base_profiles[c]);
+ // u->base_profiles[c] = names[c];
+ //}
+ //pa_xfree(names);
}
pa_datum_free(&value);
}else{