Bugs in WmfMedia Plugin

Thanks Andrew,
I’m not sure if this plugin is in your future plans but I should point out that there are a few other serious problems that are exposed when you call MediaPlayer::OpenUrl more than once. The audio use case is one such as a music play list, or podcast list where you play subsequent tracks by calling OpenUrl on the next track. Besides the above mentioned problems, the engine class FXAudio2SoundSource has state handling bugs such that it continuously requests input even when the editor isn’t the focused window and when it is paused. When you switch tracks the new track won’t be heard until the entirety of this buffered output is played. Since it’s at the OS layer even if you stop the level and restart it - the previous buffered output still plays. Those requests are sent to the MediaSoundWave class which itself has a pair of in-memory queues of sound samples - which are again not purged when a MediaPlayer is closed.