Daenks/Meridian59_103 — pull request #212 by cyberjunk (2014-01-15 19:26:11+00:00)
Title: music fix

This is a "minimal" fix for the MP3 playback without Miles Sound System.
It will play the MP3 the same way it did with the MIDI for years, so the changes in the client are minimal.

Like before for MIDI, this using Windows Media Control Interface (MCI, parts of windows api):
http://msdn.microsoft.com/en-us/library/windows/desktop/dd757151%28v=vs.85%29.aspx

More specifically this control command (mciSendCommand):
http://msdn.microsoft.com/en-us/library/windows/desktop/dd757160%28v=vs.85%29.aspx

MCI can handle various media types based on its "drivers", which in case of MP3/MPEG is called "MPEGVideo" - usually driven by this file/decoder in Windows system32 directory: mciqtz32.dll

This seems to work on most of the testsystems we tried so far - without issues - except for my own which just crashes whenever a MP3 is to be played. Probably because I have a rare and media-stripped Windows N edition right now, but it could also be related to other things...

So we definitely need to heavily test this on all kind of user systems.

PS: I changed the references to musicfiles in all .KOD files from ".mid" to ".mp3". The Miles Sound System code does some string-replacing on client-side, but replacing the filenames in KOD is much cleaner....