CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS.

Note that linking with AVFoundation is now required if you don't disable SDL_audio compilation on iOS and tvOS.
This commit is contained in:
Alex Szpakowski
2016-09-15 19:59:57 -03:00
parent dbe2997ac0
commit 4209a1fd4c
8 changed files with 343 additions and 46 deletions

View File

@@ -405,5 +405,6 @@ SDL_project "SDL2"
"$(SDKROOT)/Foundation.framework",
"$(SDKROOT)/CoreAudio.framework",
"$(SDKROOT)/CoreMotion.framework",
"$(SDKROOT)/GameController.framework"
"$(SDKROOT)/GameController.framework",
"$(SDKROOT)/AVFoundation.framework",
}