mono/MonoGame — pull request #1802 by flibitijibibo (2013-06-18 08:56:17+00:00)
Title: Add MSADPCMToPCM support to SoundEffectReader (non-DirectX)

This adds MSADPCM wavedata support to non-DirectX platforms.

While platforms that use DXSharp can just run this data natively (and they do, as seen in the code above these diffs), we need to decode this on other platforms. While not as ideal as a streamed decoder, this is the best we've got until MonoGame has some sort of internal streaming system to pass various types of audio data.

This is similar to the previous addition of MSADPCM support for WaveBanks, found here:

https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Audio/WaveBank.cs#L435