aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-29 17:06:40 +0100
committerMax Kellermann <max@duempel.org>2009-10-29 17:06:40 +0100
commitbde3d1433997af8cc430f4b9d38e5bde97d3b760 (patch)
tree59ed180c3d0bf9f7b37065eea3fa13d7ffd72286 /test/run_output.c
parent1403172ef397c3dfc58a64c999a362cca977241b (diff)
downloadmpd-bde3d1433997af8cc430f4b9d38e5bde97d3b760.tar.gz
mpd-bde3d1433997af8cc430f4b9d38e5bde97d3b760.tar.xz
mpd-bde3d1433997af8cc430f4b9d38e5bde97d3b760.zip
output: consistently lock audio output objects
Always keep the audio_output object locked within the output thread, unless a plugin method is called. This fixes several race conditions.
Diffstat (limited to 'test/run_output.c')
-rw-r--r--test/run_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/run_output.c b/test/run_output.c
index 238e16e5a..0e91bb3fd 100644
--- a/test/run_output.c
+++ b/test/run_output.c
@@ -58,10 +58,6 @@ pcm_convert(G_GNUC_UNUSED struct pcm_convert_state *state,
return NULL;
}
-void notify_init(G_GNUC_UNUSED struct notify *notify)
-{
-}
-
const struct filter_plugin *
filter_plugin_by_name(G_GNUC_UNUSED const char *name)
{