- Rearranged MIDIStreamer constructors to remove GCC warnings.

SVN r873 (trunk)
This commit is contained in:
Randy Heit 2008-04-03 02:36:01 +00:00
parent 3a5afd1418
commit b430977adf

View file

@ -70,11 +70,11 @@ extern UINT mididevice;
//==========================================================================
MIDIStreamer::MIDIStreamer(bool opl)
: MIDI(0),
:
#ifdef _WIN32
PlayerThread(0), ExitEvent(0), BufferDoneEvent(0),
#endif
Division(0), InitialTempo(500000), UseOPLDevice(opl)
MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(opl)
{
#ifdef _WIN32
BufferDoneEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
@ -98,11 +98,11 @@ MIDIStreamer::MIDIStreamer(bool opl)
//==========================================================================
MIDIStreamer::MIDIStreamer(const char *dumpname)
: MIDI(0), DumpFilename(dumpname),
:
#ifdef _WIN32
PlayerThread(0), ExitEvent(0), BufferDoneEvent(0),
#endif
Division(0), InitialTempo(500000), UseOPLDevice(true)
MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(true), DumpFilename(dumpname)
{
#ifdef _WIN32
BufferDoneEvent = NULL;