aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 22:45:14 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 22:45:14 +0100
commit2a9d933a81a6192f4d30cbf68253727f92f9bdac (patch)
treea61d258c61cd25efaa500a516b8df8b094ffa88e /test/run_output.cxx
parent81f3d893d9e41120d76a3e710db77ccd829cbf42 (diff)
downloadmpd-2a9d933a81a6192f4d30cbf68253727f92f9bdac.tar.gz
mpd-2a9d933a81a6192f4d30cbf68253727f92f9bdac.tar.xz
mpd-2a9d933a81a6192f4d30cbf68253727f92f9bdac.zip
PlayerControl: add constructor and destructor
Diffstat (limited to '')
-rw-r--r--test/run_output.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 18967ead2..e3d7163e3 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -98,6 +98,10 @@ find_named_config_block(const char *block, const char *name)
return NULL;
}
+player_control::player_control(gcc_unused unsigned _buffer_chunks,
+ gcc_unused unsigned _buffered_before_play) {}
+player_control::~player_control() {}
+
static struct audio_output *
load_audio_output(const char *name)
{
@@ -110,7 +114,7 @@ load_audio_output(const char *name)
return nullptr;
}
- static struct player_control dummy_player_control;
+ static struct player_control dummy_player_control(32, 4);
struct audio_output *ao =
audio_output_new(param, &dummy_player_control, &error);