aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/adlib.cpp
AgeCommit message (Collapse)Author
2012-12-01AUDIO: Fix AdLib volume when ENABLE_OPL3 is not definedTorbjörn Andersson
This should ensure that when ENABLE_OPL3 is not defined, the old code (using a lookup table) is used for calculating vol1 and vol2 (unless, of course, _scummSmallHeader is true). I hope I got it right this time.
2012-12-01AUDIO: Fix AdLib volume regression in pre-iMUSE SCUMM gamesTorbjörn Andersson
This assumes that _scummSmallHeader = 1 means we don't care about what _opl3Mode is when calculating the volume in mcKeyOn(). I hope this is correct.
2012-11-23AUDIO: Fix spurious compiler warnings about use-before-set variable.D G Turner
2012-11-22AUDIO: Remove two extra commas.Johannes Schickel
2012-11-22AUDIO: Disallow custom percussion instruments in MIDI->AdLib code.Johannes Schickel
2012-11-22AUDIO: Only enable OPL3 code in MIDI->AdLib, when we have the DOSBox ↵Johannes Schickel
emulator builtin.
2012-11-20AUDIO: Slight cleanup and typo fix in S&M OPL3 code.Johannes Schickel
2012-10-01AUDIO: Add support for Sam&Max's OPL3 output in our SCUMM AdLib driver.Johannes Schickel
This is an initial implementation and does not implement the differences in voice allocation.
2012-09-30AUDIO: Switch MidiDriver_ADLIB to new OPL API.Johannes Schickel
2012-09-30AUDIO: Properly handle AdLibPercussionChannel::noteOff.Johannes Schickel
2012-09-30AUDIO: Comment out unused member in AdLibPart.Johannes Schickel
2012-09-30AUDIO: Give AdLibSetParam's members more descriptive names.Johannes Schickel
2012-09-30AUDIO: Enforce method naming guidelines in adlib.cpp.Johannes Schickel
2012-09-30AUDIO: Enforce variable naming guidelines in adlib.cpp.Johannes Schickel
2012-09-30AUDIO: Fix formatting in adlib.cpp.Johannes Schickel
Powered by astyle.cpp.
2012-09-30AUDIO: Rename global variables in SCUMM AdLib code.Johannes Schickel
This does give them slightly nicer names and also adds a "g_" prefix to them.
2011-11-20AUDIO: Very small formatting fix.Johannes Schickel
2011-06-03AUDIO: Fix custom AdLib percussion instruments.Alyssa Milburn
The struct wasn't being zeroed out, a regression from b22ca4ff.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-10AUDIO: Change byte data tables to type AdLibInstrumentMax Horn
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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