aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 /test
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 'test')
-rw-r--r--test/run_filter.c3
-rw-r--r--test/run_output.cxx3
2 files changed, 0 insertions, 6 deletions
diff --git a/test/run_filter.c b/test/run_filter.c
index 6a2cd1ea2..d319a9a22 100644
--- a/test/run_filter.c
+++ b/test/run_filter.c
@@ -25,7 +25,6 @@
#include "pcm_volume.h"
#include "idle.h"
#include "mixer_control.h"
-#include "Playlist.hxx"
#include "stdbin.h"
#include <glib.h>
@@ -35,8 +34,6 @@
#include <errno.h>
#include <unistd.h>
-struct playlist g_playlist;
-
void
idle_add(G_GNUC_UNUSED unsigned flags)
{
diff --git a/test/run_output.cxx b/test/run_output.cxx
index e3d7163e3..04374537e 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -32,7 +32,6 @@ extern "C" {
#include "idle.h"
}
-#include "Playlist.hxx"
#include "PlayerControl.hxx"
#include "stdbin.h"
@@ -43,8 +42,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h>
-struct playlist g_playlist;
-
void
idle_add(G_GNUC_UNUSED unsigned flags)
{