diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/AoOutputPlugin.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/output/plugins/AoOutputPlugin.cxx b/src/output/plugins/AoOutputPlugin.cxx index 62902fd0c..d0020229f 100644 --- a/src/output/plugins/AoOutputPlugin.cxx +++ b/src/output/plugins/AoOutputPlugin.cxx @@ -42,9 +42,11 @@ struct AoOutput { ao_option *options; ao_device *device; + AoOutput() + :base(ao_output_plugin) {} + bool Initialize(const config_param ¶m, Error &error) { - return ao_base_init(&base, &ao_output_plugin, param, - error); + return ao_base_init(&base, param, error); } bool Configure(const config_param ¶m, Error &error); |