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(). --- test/run_filter.c | 3 --- test/run_output.cxx | 3 --- 2 files changed, 6 deletions(-) (limited to 'test') diff --git a/test/run_filter.c b/test/run_filter.c index 6a2cd1ea..d319a9a2 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 @@ -35,8 +34,6 @@ #include #include -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 e3d7163e..04374537 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 #include -struct playlist g_playlist; - void idle_add(G_GNUC_UNUSED unsigned flags) { -- cgit v1.2.3