output/osx: fix build failure

This commit is contained in:
Lukas Stabe 2013-12-10 19:16:37 +01:00 committed by Max Kellermann
parent 02e8da6c98
commit 695ca29274
2 changed files with 4 additions and 3 deletions

1
NEWS
View File

@ -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

View File

@ -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;
}