aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_all.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-05 00:05:57 +0100
committerMax Kellermann <max@duempel.org>2013-01-05 02:40:33 +0100
commit1a8ef3cdab39234e91fe9d91dad2ae004e4537dc (patch)
tree128f25b72f61ff2e7a2a3fb1f292b57ad27b9061 /src/output_all.h
parent7be33eba489825d3a36f3ccbb3571002fcc06c0b (diff)
downloadmpd-1a8ef3cdab39234e91fe9d91dad2ae004e4537dc.tar.gz
mpd-1a8ef3cdab39234e91fe9d91dad2ae004e4537dc.tar.xz
mpd-1a8ef3cdab39234e91fe9d91dad2ae004e4537dc.zip
filter/ReplayGain: add method _set_mode()
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode().
Diffstat (limited to '')
-rw-r--r--src/output_all.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_all.h b/src/output_all.h
index 00864c9ba..becf4b695 100644
--- a/src/output_all.h
+++ b/src/output_all.h
@@ -26,6 +26,7 @@
#ifndef OUTPUT_ALL_H
#define OUTPUT_ALL_H
+#include "replay_gain_info.h"
#include "gerror.h"
#include <stdbool.h>
@@ -102,6 +103,9 @@ audio_output_all_close(void);
void
audio_output_all_release(void);
+void
+audio_output_all_set_replay_gain_mode(enum replay_gain_mode mode);
+
/**
* Enqueue a #music_chunk object for playing, i.e. pushes it to a
* #music_pipe.