aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/sound.cpp
AgeCommit message (Collapse)Author
2018-05-05ALL: Use CLIP to clip volumesAdrian Frühwirth
2017-11-10ALL: Fix misuse of comma operatorColin Snover
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2015-07-07AUDIO: Remove all AudioStream access to OPLMatthew Hoops
2015-07-07CRUISE: 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
2014-06-09CRUISE: Initialize some variablesStrangerke
2014-06-05CRUISE: Remove logically dead code in SoundStrangerke
2014-06-01CRUISE: Reduce the scope of variables used in the for loopsStrangerke
2014-05-31CRUISE: Add safeguards to avoid a buffer overflow in linker and soundStrangerke
2014-02-18CRUISE: Make GPL headers consistent in themselves.Johannes Schickel
2011-08-06ALL: Reduce audio/ header dependencyEugene Sandulenko
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-03-19CRUISE: Cleanup syncSoundSettings()dhewg
And init volume levels on startup
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-21CRUISE: Fix Memory Accesses Errors and Leaks Reported By ValgrindDavid Turner
Most of these fixes are fairly simple, though the clamping of ArrayStates accesses in object.cpp _might_ cause regressions. None are obvious on basic playtest check, but the game will need a full playtest. svn-id: r54408
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
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
2009-10-10Further memory leak fixesPaul Gilbert
svn-id: r44861
2009-10-09Set up a basic tracing system for all memory allocations to help track down ↵Paul Gilbert
memory leaks svn-id: r44808
2009-08-03Bugfix to correctly reset the music tempo when loading a savegamePaul Gilbert
svn-id: r43023
2009-06-30Made the music/sfx volume settings actually affect the in-game music/sfx volumePaul Gilbert
svn-id: r41975
2009-06-23Bugfixes to keep sound effects to channel #4 like the original (it ignores ↵Paul Gilbert
the channel parameter to the given library routine) svn-id: r41787
2009-06-22Removed redundant variation of the routine to play sound effectsPaul Gilbert
svn-id: r41763
2009-06-22Added the dummy volume variable to the savegame formatPaul Gilbert
svn-id: r41749
2009-06-22Implemented the Op_SetVolume method like the original, which simply set a ↵Paul Gilbert
dummy variable and never actually changed the volume svn-id: r41748
2009-06-21Minor fixes to the individual note playing codePaul Gilbert
svn-id: r41726
2009-06-20Added proper saving of music state to savegames so music resumes when a ↵Paul Gilbert
savegame is loaded. svn-id: r41702
2009-06-20Finally tracked down the difference/bug in the music playing code - music ↵Paul Gilbert
playback now works svn-id: r41700
2009-06-18Removed redundant code that isn't usedPaul Gilbert
svn-id: r41630
2009-06-14Fix unused variable warning.Johannes Schickel
svn-id: r41507
2009-06-14Beginnings of music support for Cruise, based on the cine engine sound code ↵Paul Gilbert
(note that the music played isn't yet correct, though) svn-id: r41506
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-19Improved Common::Serializer in several ways:Max Horn
* Added support versioned serialization * Added a convenience API for handling 'magic IDs' transparently * Exposed the err()/clearErr() methods of the underlying streams * Added a basic unit test for versioned loading (more should be added, in particular for saving) * Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size) svn-id: r40723
2009-05-12Fixed what looks like an obvious error in loadSong() that Valgrind caught.Torbjörn Andersson
svn-id: r40504
2009-04-05Created stub manager class for sound effectsPaul Gilbert
svn-id: r39856
2009-04-01Fix warnings.Johannes Schickel
svn-id: r39790
2009-04-01Laid the basics for music handlingPaul Gilbert
svn-id: r39788