aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound/adlib.cpp
AgeCommit message (Collapse)Author
2016-02-28GOB: Don't completely reset the OPL in AdLib::initOPL()Sven Hesse
It shouldn't be necessary anymore, since initOPL() cleans everything. If, however, suddenly a piece of music sounds weird in a Gob game, this is the place to look for. This fixes a race condition between OPL::reset() and the callback timer.
2015-07-19GOB: Get rid of unused Audio::mixer referencesMax Horn
Also remove the unused AdLib::_rate member variable.
2015-07-07AUDIO: Remove all AudioStream access to OPLMatthew Hoops
2015-07-07GOB: Implement custom AdLib volume controlWalter van Niftrik
2015-07-07GOB: Use the built-in OPL timerMatthew Hoops
2015-07-07AUDIO: Remove the sample rate configuration from the OPL codeMatthew Hoops
2014-02-18GOB: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-15GOB: Add another sanity checkSven Hesse
2012-06-11GOB: Don't recalculate the AdLib frequencies table on every player resetSven Hesse
2012-06-11GOB: Rewrite the AdLib playersSven Hesse
This is a complete rewrite of the AdLib players for ADL and MDY/TBR files in the Gob engine. Major changes 1) The AdLib base class is now completely separated from all file format code and can theoretically be used by any OPL2-based format (within reason) 2) The new code is far better documented and more readable 3) The MDY player now actually works. The MDY/TBR format is in reality the MUS/SND format created by AdLib as a simpler alternative to the ROL format 4) Since the MAME emulator is quite buggy and leads to noticable wrong percussion in the Gobliins 2 title music, the new AdLib player will try to create a DOSBox OPL. If it's not compiled in, or if the user configured opl_driver to "mame", it will print out appropriate warnings.
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-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2010-10-15GOB: Fix Code analysis warningsSven Hesse
See bug report #3087831 svn-id: r53464
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-02-03Minor style-related changesSven Hesse
svn-id: r47839
2010-02-02Fascination - Fix one wrong wait timeArnaud Boutonné
svn-id: r47826
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-03Fix a buffer overflow (thanks to syke) and modify the way the instruments ↵Arnaud Boutonné
are loaded (bytes instead of uint16). This (sadly) doesn't fix the MDY player. svn-id: r46936
2010-01-01Fix a buffer overflow, thanks to sykeArnaud Boutonné
svn-id: r46851
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-08Fixed some (pedantic) warningsMax Horn
svn-id: r44015
2009-06-24Clarifying some warningsSven Hesse
svn-id: r41836
2009-06-23Changing the TBR FIXME into a warning in setVoice()Sven Hesse
svn-id: r41803
2009-06-22Removing trailing tabsSven Hesse
svn-id: r41784
2009-06-22Removing trailing spacesSven Hesse
svn-id: r41783
2009-06-22Added stream-reading loading wrappers to MDYPlayer and added a workaround to ↵Sven Hesse
fix TBR reading for the moment svn-id: r41781
2009-06-18Splitting an ADLPlayer and MDYPlayer from the AdLib classSven Hesse
svn-id: r41633
2009-06-16Properly initializing _soundMode, for ADLs tooSven Hesse
svn-id: r41591
2009-06-16MDY/TBR : fix a thing or two. Still far from being OK, but in-game ambiance ↵Arnaud Boutonné
"music" is (a little) less buggy svn-id: r41584
2009-06-13Gob - *WIP* incomplete implementation of MDY/TBR Arnaud Boutonné
svn-id: r41498
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-05-17Changing debug channels a bitSven Hesse
svn-id: r32157
2008-05-08Restructured sound codeSven Hesse
svn-id: r31937