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.
This commit is contained in:
Max Kellermann
2009-10-29 17:06:40 +01:00
parent 1403172ef3
commit bde3d14339
7 changed files with 105 additions and 52 deletions

View File

@@ -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)
{