aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-01 15:44:56 +0100
committerMax Kellermann <max@duempel.org>2009-11-01 15:44:56 +0100
commit8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb (patch)
tree115885209ed7e684376ca25d4efee7225ec79e17 /src/replay_gain.c
parent9bcfd3a47da540abeb2da06471cf2fa11c14db49 (diff)
downloadmpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.tar.gz
mpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.tar.xz
mpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.zip
replay_gain: trigger OPTIONS idle event on mode change
Diffstat (limited to '')
-rw-r--r--src/replay_gain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/replay_gain.c b/src/replay_gain.c
index a59cfa245..020671c8a 100644
--- a/src/replay_gain.c
+++ b/src/replay_gain.c
@@ -24,6 +24,7 @@
#include "conf.h"
#include "audio_format.h"
#include "pcm_volume.h"
+#include "idle.h"
#include <glib.h>
@@ -75,6 +76,8 @@ replay_gain_set_mode_string(const char *p)
else
return false;
+ idle_add(IDLE_OPTIONS);
+
return true;
}