diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/OSXOutputPlugin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index 249f61144..6918b3378 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -45,6 +45,9 @@ struct OSXOutput { Cond condition; DynamicFifoBuffer<uint8_t> *buffer; + + OSXOutput() + :base(osx_output_plugin) {} }; static constexpr Domain osx_output_domain("osx_output"); @@ -81,7 +84,7 @@ static AudioOutput * osx_output_init(const config_param ¶m, Error &error) { OSXOutput *oo = new OSXOutput(); - if (!ao_base_init(&oo->base, &osx_output_plugin, param, error)) { + if (!ao_base_init(&oo->base, param, error)) { delete oo; return NULL; } |