diff options
Diffstat (limited to 'src/output/NullOutputPlugin.cxx')
-rw-r--r-- | src/output/NullOutputPlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/NullOutputPlugin.cxx b/src/output/NullOutputPlugin.cxx index 814a9d2e2..0ce32fbda 100644 --- a/src/output/NullOutputPlugin.cxx +++ b/src/output/NullOutputPlugin.cxx @@ -31,7 +31,7 @@ struct NullOutput { Timer *timer; - bool Initialize(const config_param *param, GError **error_r) { + bool Initialize(const config_param ¶m, GError **error_r) { return ao_base_init(&base, &null_output_plugin, param, error_r); } @@ -42,7 +42,7 @@ struct NullOutput { }; static struct audio_output * -null_init(const config_param *param, GError **error_r) +null_init(const config_param ¶m, GError **error_r) { NullOutput *nd = new NullOutput(); @@ -51,7 +51,7 @@ null_init(const config_param *param, GError **error_r) return nullptr; } - nd->sync = config_get_block_bool(param, "sync", true); + nd->sync = param.GetBlockValue("sync", true); return &nd->base; } |