[Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[48147] scummvm/trunk/engines/draci/music.cpp

Robert Špalek rspalek at gmail.com
Sun Feb 28 00:08:06 CET 2010


On Sat, Feb 27, 2010 at 3:01 PM, Jordi Vilalta <jvprat at users.sourceforge.net
> wrote:

> The draci engine also changes the channel masfor MT32 devices in line
> 132 of draci.cpp:
> _midiDriver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
>
> I hope it solves the mystery ;)
>

I copied & pasted this line from another engine.  I don't know what this
code means.  if you know more about MIDI, I'd love to learn from you.  my
intention was just to play given MIDI files read from disk about which I
know literally nothing.

I was surprised that this simple task is very complicated in ScummVM, as
opposed to just playing samples or MP3's.  I had to copy & paste non-trivial
MIDI code from other modules and do a lot of initialization and
configuration work.  I just did it such that it works for me.

-- 
Robert Špalek <rspalek at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20100227/fddfd7e5/attachment.html>


More information about the Scummvm-devel mailing list