mono/MonoGame — pull request #1379 by flibitijibibo (2013-02-14 20:10:32+00:00)
Title: Add MSADPCM WaveBank support

This is a renewal of my original MSADPCM pull request, but for the new develop branch.

This adds the ability to parse WaveBanks that are compressed with ADPCM wavedata. This is a cross-platform and fully functional solution, but there is a concern with possible hanging when loading large banks.

If we want to fix the load hang, we'll need to find a way to stream decoded wavedata to sources that play the WaveBank sounds.

Real talk though: I've been using this for Codename lolno, and I gave this to the developer of Gateways, and nobody's commented on hanging (for us it's a couple seconds total). I imagine if someone has a WaveBank that's 150+MB it'll get ugly, but this is at least a start.