diff options
author | Max Kellermann <max@duempel.org> | 2013-01-05 00:05:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-05 02:40:33 +0100 |
commit | 1a8ef3cdab39234e91fe9d91dad2ae004e4537dc (patch) | |
tree | 128f25b72f61ff2e7a2a3fb1f292b57ad27b9061 /src/OutputControl.hxx | |
parent | 7be33eba489825d3a36f3ccbb3571002fcc06c0b (diff) | |
download | mpd-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 'src/OutputControl.hxx')
-rw-r--r-- | src/OutputControl.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OutputControl.hxx b/src/OutputControl.hxx index 90769180f..cf906d2f0 100644 --- a/src/OutputControl.hxx +++ b/src/OutputControl.hxx @@ -20,6 +20,8 @@ #ifndef MPD_OUTPUT_CONTROL_HXX #define MPD_OUTPUT_CONTROL_HXX +#include "replay_gain_info.h" + #include <glib.h> #include <stddef.h> @@ -36,6 +38,10 @@ audio_output_quark(void) return g_quark_from_static_string("audio_output"); } +void +audio_output_set_replay_gain_mode(struct audio_output *ao, + enum replay_gain_mode mode); + /** * Enables the device. */ |