summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deadbeef.h1
-rw-r--r--streamer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index a42dd4ba..73452c4e 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -269,6 +269,7 @@ enum {
DB_EV_PLAYLISTSWITCHED = 18, // playlist switch occured
DB_EV_SEEK = 19, // seek current track to position p1 (ms)
DB_EV_ACTIONSCHANGED = 20, // plugin actions were changed, e.g. for reinitializing gui
+ DB_EV_DSPCHAINCHANGED = 21, // emitted when any parameter of the main dsp chain has been changed
DB_EV_FIRST = 1000,
DB_EV_SONGCHANGED = 1000, // current song changed from one to another, ctx=ddb_event_trackchange_t
diff --git a/streamer.c b/streamer.c
index 69db8029..1c5241c5 100644
--- a/streamer.c
+++ b/streamer.c
@@ -2221,6 +2221,7 @@ streamer_set_dsp_chain (ddb_dsp_context_t *chain) {
if (playing_track && output->state () != OUTPUT_STATE_STOPPED) {
streamer_set_seek (playpos);
}
+ messagepump_push (DB_EV_DSPCHAINCHANGED, 0, 0, 0);
}
void