mono/MonoGame — pull request #558 by b3nn0 (2012-06-28 08:04:42+00:00)
Title: More sound fixes

Hey there,
1: A simple IsContentLost property for RenderTarget2D because it needs to exist. I noticed that content doesn't seem to get lost in MonoGame, so "return false;" should be enough
2: A simple event-system for the OpenAL sound controller, so the SoundEffectInstance and therefore the Song and therefore the MediaPlayer and therefore the user can handle a MediaStateChanged event.
Without that, managing background music in a game is almost impossible and it also allows for MediaPlayers IsRepeating property to do anything useful.
Anyway, I'm not sure if this is completely WinRT compatible (see the Song constructor). Only some parts of the OpenAL sound stuff seem to be #if'd out for WinRT, so I'm not sure what applies here.
Let me know if something should be changed.