mono/MonoGame — pull request #778 by Aranda (2012-09-17 16:38:17+00:00)
Title: Android soundeffect fixes

This fixes a few issues with the Android SoundEffect / SoundEffectInstance API.

- Getting the SoundState from SoundEffectInstance will now work for looping sounds a least. The underlying Andriod SoundPool API does not support this, so we rely on the stored state in SoundEffectInstance. One notable change here is that for non-looping sounds, we will always be reporting the state as Playing (even after it's finished) as opposed to always reporting Stopped (even when it's playing).
- Playing the same SoundEffect multiple times would result in both instances referencing the last played _streamId, meaning you could never stop the first one if it was looping. To fix this I refactored the _streamId out of the Andriod specific Sound.cs and into SoundEffectInstance.cs. This does make the code messier, but until we get OpenAL, I think it's worth it.
- I also accidentally commited a couple of minor improvements to the ContentTypeReaderManager to this branch. I figured these are worth including though.