Audio SE cache. Sound effects are cached now in a 5 1 MB cache, only the first access does a cache miss. Afterwards it takes the decoded buffer directly. This also gives AudioDecoder for SE the first time. Should fix 24bit Pom Gets Wifi SEs and gives proper playback speed for the Wii that has a broken SDL resampler \o/.
3DS and PSVita don't use the cache yet.
Cache clearing strategy:
When the cache limit is reached all entries not being accessed in the last 10 seconds are removed.
Implement audio cache for SE sound effects and active it for SDL
Add Mono->Stereo resampling to AudioSeCache
Audio SeCache: Fix playback speed of pitch-changed Mono sound effects
Clear all caches when returning to Title Scene or GameBrowser
Fix heap corruption when other files include audio_resampler.h withou…
…t setting the preprocessor macros
This is a autoconf build system problem only because it uses config.h
That one is also not risky. Will outsource this to the Wii communtiy to test :D. At least in Dolphin helps alot.
Got feedback in the forum, they are happy ;). Concerning psvita and 3ds: Woukd prefer another PR for tjis because i need other testers.
Set Audio Cache size to 1 MB, this is enough space for a few samples …
…without wasting too much RAM
Jenkins: Test this please ... fu android
otherwise this is ready now ^^