diff options
Diffstat (limited to 'src/output_init.c')
-rw-r--r-- | src/output_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_init.c b/src/output_init.c index f6d3799c4..f57f39336 100644 --- a/src/output_init.c +++ b/src/output_init.c @@ -98,6 +98,10 @@ int audio_output_init(struct audio_output *ao, ConfigParam * param) } else audio_format_clear(&ao->reqAudioFormat); + ao->thread = 0; + notify_init(&ao->notify); + ao->command = AO_COMMAND_NONE; + if (plugin->init(ao, param) != 0) return 0; |