diff options
Diffstat (limited to 'src/output/plugins/WinmmOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/WinmmOutputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/plugins/WinmmOutputPlugin.cxx b/src/output/plugins/WinmmOutputPlugin.cxx index b09d2e081..d61f2055a 100644 --- a/src/output/plugins/WinmmOutputPlugin.cxx +++ b/src/output/plugins/WinmmOutputPlugin.cxx @@ -52,7 +52,7 @@ struct WinmmOutput { WinmmBuffer buffers[8]; unsigned next_buffer; - WinmmBuffer() + WinmmOutput() :base(winmm_output_plugin) {} }; @@ -115,7 +115,7 @@ static AudioOutput * winmm_output_init(const config_param ¶m, Error &error) { WinmmOutput *wo = new WinmmOutput(); - if (!ao_base_init(&wo->base, param, error)) { + if (!wo->base.Configure(param, error)) { delete wo; return nullptr; } |