Reported in version: HG 2.0 Reported for operating system, platform: Mac OS X (All), x86
Comments on the original bug report:
On 2015-09-21 21:15:34 +0000, Dominik Reichardt wrote:
Created attachment 2271
With current SDL code you receive this warning in SDL apps:
WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
This is because the CoreAudio code is still using the pre-OSX-10.6 code. Since you are only supporting OS X >= 10.7 you can move away from this old code.
Attached patch seems to fix it. I only tested with Exult (exult.sf.net), with these changes it still builds and still produces sound with CoreAudio.
I'll see about making a patch for SDL 1.2x as well, since a lot of apps I build still use it and are not likely to switch unfortunately.
On 2015-09-21 22:14:26 +0000, Dominik Reichardt wrote:
Created attachment 2272
Patch for SDL 1.2x
I've added a patch for SDL 1.2x as well
On 2015-09-21 22:35:46 +0000, Dominik Reichardt wrote:
Created attachment 2273
Patch for SDL2 - keeping support for OS X 10.5
Added a second patch for SDL2 that keeps support for OS X 10.5 so SDL2 can still be deployed for that. Adds ugly
#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1050
lines, though. :)
On 2015-09-21 22:36:47 +0000, Dominik Reichardt wrote:
Created attachment 2274
Patch for SDL2
On 2016-05-21 03:21:29 +0000, Alex Szpakowski wrote: