[Scummvm-cvs-logs] scummvm master -> 065b996d1551c9fb2ba927dac47a5fb907ac8d8e

clone2727 clone2727 at gmail.com
Tue Sep 18 02:40:07 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
065b996d15 MACOSX: Make failing to load a soundfont in CoreAudio fatal


Commit: 065b996d1551c9fb2ba927dac47a5fb907ac8d8e
    https://github.com/scummvm/scummvm/commit/065b996d1551c9fb2ba927dac47a5fb907ac8d8e
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-09-17T17:38:33-07:00

Commit Message:
MACOSX: Make failing to load a soundfont in CoreAudio fatal

If we don't bail out, CoreAudio will explode.

Changed paths:
    backends/midi/coreaudio.cpp



diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp
index ffa2580..94262d0 100644
--- a/backends/midi/coreaudio.cpp
+++ b/backends/midi/coreaudio.cpp
@@ -215,7 +215,7 @@ int MidiDriver_CORE::open() {
 #endif
 
 		if (err != noErr)
-			warning("Failed loading custom sound font '%s' (error %ld)\n", soundfont, (long)err);
+			error("Failed loading custom sound font '%s' (error %ld)", soundfont, (long)err);
 	}
 
 #ifdef COREAUDIO_DISABLE_REVERB






More information about the Scummvm-git-logs mailing list