From 1a8ef3cdab39234e91fe9d91dad2ae004e4537dc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 5 Jan 2013 00:05:57 +0100 Subject: filter/ReplayGain: add method _set_mode() Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode(). --- src/OutputControl.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/OutputControl.hxx') diff --git a/src/OutputControl.hxx b/src/OutputControl.hxx index 90769180..cf906d2f 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 #include @@ -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. */ -- cgit v1.2.3