scummvm/engines/sci/sound
Max Horn 8982fff1b7 AUDIO: Add pure virtual MidiDriver::isOpen() method
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.

The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom

Also fixed some engines which were leaking MidiDriver instances.
2011-03-22 23:51:47 +01:00
..
drivers AUDIO: Add pure virtual MidiDriver::isOpen() method 2011-03-22 23:51:47 +01:00
audio.cpp AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
audio.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
midiparser_sci.cpp SCI: Removed bogus warning 2010-11-27 18:27:02 +00:00
midiparser_sci.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
music.cpp SCI: Always clear looping and hold before jumpToTick() is called 2011-03-03 12:45:03 +02:00
music.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
soundcmd.cpp SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107 2011-02-28 01:06:29 +02:00
soundcmd.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00