diff options
-rw-r--r-- | plugins/gtkui/dspconfig.c | 1 | ||||
-rw-r--r-- | streamer.c | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/gtkui/dspconfig.c b/plugins/gtkui/dspconfig.c index 6853e8a7..fb1c1d41 100644 --- a/plugins/gtkui/dspconfig.c +++ b/plugins/gtkui/dspconfig.c @@ -275,6 +275,7 @@ on_dsp_configure_clicked (GtkButton *button, }; gtkui_run_dialog (prefwin, &conf, 0); current_dsp_context = NULL; + update_streamer (); } static int @@ -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); + } } |