aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.cpp
AgeCommit message (Collapse)Author
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2015-07-07AUDIO: Remove all AudioStream access to OPLMatthew Hoops
2015-07-07KYRA: Use the built-in OPL timerMatthew Hoops
2015-07-07AUDIO: Remove the sample rate configuration from the OPL codeMatthew Hoops
2015-07-07AUDIO: Remove the legacy OPL APIMatthew Hoops
2015-05-21KYRA: Update comment since the file it pointed to movedTorbjörn Andersson
Also, ScummVM does have a more modern FMOPL implementation now, so there's no need to bring up other implementations.
2014-08-24KYRA: Slight cleanup.Johannes Schickel
2014-08-24KYRA: Constify base type for some pointers in AdLibDriver.Johannes Schickel
2014-08-24KYRA: Add safety checks for getProgram/getInstrument return values.Johannes Schickel
This fixes a crash in Hand of Fate when scaring off the rat by using the swampsnake potion on Zanthia. This crash is timing sensitive since the game is stopping the offending sound resource at this point. If it still gets to the instruction setting up an invalid instrument, it will crash ScummVM with in invalid read.
2014-08-24KYRA: Extend safety check inside AdLibDriver::getProgram.Johannes Schickel
This also removes an TODO and replaces it with a comment explaining this safety check.
2014-02-18KYRA: Make GPL headers consistent in themselves.Johannes Schickel
2013-01-09KYRA: Make all hex constants use uppercase letters.Johannes Schickel
Done with: git ls-files "*.cpp" *".h" | xargs sed -i -e 's/0x\([0-9a-f]*\)/0x\U\1/g'
2012-11-23KYRA: Make Sound::hasSoundFile const again.Johannes Schickel
2012-11-11KYRA: clean up audio resource handlingathrxx
(this was really ugly, now it's somewhat less ugly)
2012-01-06KYRA: (EOB) - add basic distinction between music and sound effectsathrxx
(The original code of the DOS version does not distinguish here, but we do it anyway so as to make more sense of the GMM volume settings)
2011-12-26KYRA: (EOB/LOL) - rename some varsathrxx
(all cases of Eob to EoB, all cases of Lol to LoL, all cases of LolEobCommon to RpgCommon)
2011-12-26KYRA: (AdLib Driver) - fix queue handling for Eobathrxx
Huge numbers of sound effects get started as soon as a couple of monsters are around. If we start dropping sound when the queue is full, we won't have any sounds in these situations, but we'll get tons of useless warnings instead.
2011-12-26KYRA: (AdLib Driver) - prevent squashing of sounds during halt track executionathrxx
This patch makes sure that the stopping track (track 0) does not squash sounds which get queued during the execution of the stopping track. This seems to be a hardware problem (original driver implementation not suitable for modern machines).
2011-12-26KYRA: (AdLib Driver) - increase versions and add necessary EOB modificationsathrxx
2011-12-26KYRA: (AdLib Driver) - fix secondary effectathrxx
2011-12-26KYRA: (AdLib Driver) - rename some variables to make more senseathrxx
2011-12-26KYRA: (AdLib Driver) - allow sound trigger queryathrxx
2011-12-26KYRA: (AdLib Driver) - fix invalid memory write issueathrxx
2011-12-26KYRA: (AdLib Driver) - implement sound effects volumeathrxx
(also make internal driver version more flexible)
2011-10-29KYRA: Add another delay for new tracks in the AdLib driver.Johannes Schickel
This is to play really safe and to avoid messing up of sound data.
2011-10-29KYRA: Fix haltTrack and beginFadeOut for AdLib driver.Johannes Schickel
Formerly the were not executed properly when the sfx output was disabled.
2011-10-29KYRA: Simplify AdLib output code a bit.Johannes Schickel
This might cause nasty regressions, since it changes the way sounds are started. On the other hand it gets rid of the low level driver interface which was implemented before. And it should be a bit better secured against race conditions.
2011-10-29KYRA: Implemented LoL style volume control in AdLib output.Johannes Schickel
2011-10-02KYRA: Fix minor bug in AdLibDriver::primaryEffect1.Johannes Schickel
2011-10-02KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore.Johannes Schickel
2011-10-02KYRA: Name another variable in the AdLib output code.Johannes Schickel
2011-10-02KYRA: Some minor cleanup.Johannes Schickel
2011-09-08KYRA: Made some more static data const.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
2011-04-14KYRA: Enforce use of American English in comments.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-10-28KYRA: Fix some code errors reported by ICC (i.e. subclasses not overwriting ↵Johannes Schickel
methods by missing a const.) svn-id: r53911
2010-08-24KYRA: Cleanup.Johannes Schickel
svn-id: r52340
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-11Fix bug #2985387 "KYRA1: Crash at the end of game".Johannes Schickel
svn-id: r48617
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-02Use Common::StackLock.Johannes Schickel
svn-id: r46870
2010-01-01Merge update_nop1 and update_nop2.Johannes Schickel
svn-id: r46860
2010-01-01- Fix out of bounds array access.Johannes Schickel
- Add some asserts in output related functions svn-id: r46859
2010-01-01- Add some assertsJohannes Schickel
- Renamed snd_unkOpcode3 to snd_stopChannel - Cleanup svn-id: r46855