aboutsummaryrefslogtreecommitdiff
path: root/audio/mididrv.h
AgeCommit message (Collapse)Author
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-06-06AUDIO: replaced kDriverName in MidiDriver::detectDevice()athrxx
(This is irrelevant for the MT-32 emulator, but makes sense for plugins which really have more than one device)
2011-06-05AUDIO: fix device detection (missing rom files for MT-32 emu)athrxx
This is an attempt to fix the problem Max described in his devel mail. The presence of the rom files will now be checked in detectDevice(). In case of failure there will be fallback attempts. The user will get notified of the detection failure if he has expressly selected the device that failed. Please test with your platform / engine (with or without rom files).
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-03-23AUDIO: Introduce a new MidiDriver_BASE base class.Max Horn
The actual MidiDriver derives from it. MidiDriver_BASE only provides the minimal API necessary for transmitting MIDI data. The idea is that this is all MidiParser needs, thus allowing us to simplify the various MidiPlayer classes in our engines.
2011-03-23AUDIO: Update some comments, remove some obsolete onesMax Horn
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-03-01AUDIO: Removed comment about MDT_PREFER_MT32 and the MT-32 emulatormd5
2011-03-01MIDI: Updated documentation on MDT_PREFER_MT32 and MDT_PREFER_GMmd5
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850