aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputInit.cxx')
-rw-r--r--src/OutputInit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OutputInit.cxx b/src/OutputInit.cxx
index 6dd40cd67..cef4755c6 100644
--- a/src/OutputInit.cxx
+++ b/src/OutputInit.cxx
@@ -155,16 +155,16 @@ ao_base_init(struct audio_output *ao,
NULL);
if (p != NULL) {
bool success =
- audio_format_parse(&ao->config_audio_format,
+ audio_format_parse(ao->config_audio_format,
p, true, error_r);
if (!success)
return false;
} else
- audio_format_clear(&ao->config_audio_format);
+ ao->config_audio_format.Clear();
} else {
ao->name = "default detected output";
- audio_format_clear(&ao->config_audio_format);
+ ao->config_audio_format.Clear();
}
ao->plugin = plugin;