diff options
author | 2010-12-30 21:50:32 +0100 | |
---|---|---|
committer | 2010-12-30 21:50:32 +0100 | |
commit | 9c4051a94ed3827c5d5137636692a8b70b7593d4 (patch) | |
tree | f18a152896500353ded7479b6a3e49dde84953e4 /streamer.c | |
parent | 2d0b6eda861e5bfcdce1ca43afb013d15b9d73b5 (diff) |
fixed dsp parameter setting from gui
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1822,7 +1822,6 @@ streamer_set_dsp_chain (ddb_dsp_context_t *chain) { ddb_dsp_context_t *tail = NULL; while (chain) { - printf ("copy %s\n", chain->plugin->plugin.id); ddb_dsp_context_t *new = dsp_clone (chain); if (tail) { tail->next = new; @@ -1839,6 +1838,11 @@ streamer_set_dsp_chain (ddb_dsp_context_t *chain) { char fname[PATH_MAX]; snprintf (fname, sizeof (fname), "%s/dspconfig", plug_get_config_dir ()); streamer_dsp_chain_save (fname, dsp_chain); + streamer_reset (1); mutex_unlock (decodemutex); + DB_output_t *output = plug_get_output (); + if (playing_track && output->state () != OUTPUT_STATE_STOPPED) { + deadbeef->streamer_seek (playpos); + } } |