Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlatformPlayer: wavPlayer shall open its clip on prefetch()
Getting scarce MIDI resources on realize() seems fine (and is required for Phoenix Wright). Death Race on the other hand, shows that for the WavPlayer, it has to happen on prefetch(), with those scarce resources being freed on deallocate, otherwise the game will keep opening new clips nonstop. Should also fix other jars, Death Race is just very easy to notice since it reloads a lot of wav streams on each race.
- Loading branch information