aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/sound.cpp
AgeCommit message (Collapse)Author
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