aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/music.h
AgeCommit message (Collapse)Author
2014-02-18QUEEN: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-24QUEEN: Rename some MidiMusic members to match Audio::MidiPlayerMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
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-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-11-21use mutex to prevent race between MidiParser & MidiDriverGregory Montoir
svn-id: r29594
2007-11-15added support for Adlib tracksGregory Montoir
svn-id: r29509
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-16minor simplificationGregory Montoir
svn-id: r26150
2007-03-08Since the amiga version handle music very differently than the PC version, ↵Gregory Montoir
the existing Music and MusicPlayer classes have been merged to a single MidiMusic class, simplifying code a bit. svn-id: r26033
2006-11-12cleanupGregory Montoir
svn-id: r24693
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582