From 695ca292742a1d09d9bf9c56cea50ac954383914 Mon Sep 17 00:00:00 2001 From: Lukas Stabe Date: Tue, 10 Dec 2013 19:16:37 +0100 Subject: output/osx: fix build failure --- NEWS | 1 + src/output/OSXOutputPlugin.cxx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 300404690..3f1fbb269 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ ver 0.18.6 (not yet released) - cdio_paranoia: support libcdio-paranoia 0.90 * output - openal: fix build failure on Mac OS X + - osx: fix build failure ver 0.18.5 (2013/11/23) * configuration diff --git a/src/output/OSXOutputPlugin.cxx b/src/output/OSXOutputPlugin.cxx index 7debe6ab2..97ebae056 100644 --- a/src/output/OSXOutputPlugin.cxx +++ b/src/output/OSXOutputPlugin.cxx @@ -363,9 +363,9 @@ osx_output_open(struct audio_output *ao, AudioFormat &audio_format, OSStatus status = AudioUnitInitialize(od->au); if (status != noErr) { - error.Set(osx_output_domain, status, - "Unable to initialize OS X audio unit: %s", - GetMacOSStatusCommentString(status)); + error.Format(osx_output_domain, status, + "Unable to initialize OS X audio unit: %s", + GetMacOSStatusCommentString(status)); return false; } -- cgit v1.2.3