Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#256 OS X - CoreAudio deprecated warnings eliminated

Unstable_(example)
open
nobody
None
1
2013-06-18
2013-04-06
No

To get rid of deprecated warnings in the CoreAudio code I adapted the changes from ScummVM to DOSBox (and before that to Exult and Pentagram).
I left some of the explanation comments in so you know why I did some of the stuff.
In the soundfont loading there are still whitespaces that should probably be tabbed but I didn't want to change that so the changes are more visible.
I also switched the soundfont "RequireNoErr" to OSErr err because I didn't know how to do the CoreAudio loading fail at the end of the soundfont stuff otherwise.

Dominus

1 Attachments

Discussion

  • fiddled with MAC_OS_X_VERSION_MIN_REQUIRED instead of MAC_OS_X_VERSION_MAX_ALLOWED since newer Clang seems to have problems with MAX_ALLOWED