Menu

#256 OS X - CoreAudio deprecated warnings eliminated

Unstable_(example)
accepted
Qbix
None
1
2015-10-02
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

  • Dominik Reichardt

    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

     
  • Dominik Reichardt

    Now I'm using the MAC_OS_X_VERSION_MAX_ALLOWED correctly, same how SDL uses it. Please please add this patch :)

     
  • Qbix

    Qbix - 2015-10-02

    Added. Thanks

     
  • Qbix

    Qbix - 2015-10-02
    • status: open --> accepted
    • assigned_to: Peter Veenstra
     

Log in to post a comment.