aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/sound.cpp
AgeCommit message (Collapse)Author
2014-03-16CINE: Avoid possible string buffer overrun by using strlcpy and strlcatStrangerke
2014-02-18CINE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-03CINE: Remove unnecessary check. CID 1004117Eugene Sandulenko
2013-10-02CINE: Ensure that Adlib driver callbacks are initialized. CID 1003411.D G Turner
2012-09-11CINE: Implement music fade out for Amiga/AtariST music.Johannes Schickel
2012-09-08CINE: Implement panning for sfx for FW Amiga and AtariST.Johannes Schickel
2012-09-08CINE: Remove unused Sound::update method.Johannes Schickel
2012-09-08CINE: Implement sfx repeat and volume fade for FW Amiga/AtariST.Johannes Schickel
This fixes bug 3091660 "FW: Looping samples don't loop in Amiga version".
2012-09-08CINE: Skip resource header in loadSpl.Johannes Schickel
This implements a long standing TODO in PaulaSound::playSound.
2012-09-07CINE: A little bit enforcement of our formatting guidelines.Johannes Schickel
Powered by astyle & manual fixup afterwards.
2012-08-11CINE: Fix lockup in Scene 5 when "operate Girl" underwater.D G Turner
Traced with gdb to sound.cpp:792 i.e. _fadeOutTimer infinite loop. This bug was introduced by the addition of the MT-32 output driver for Future Wars and associated mutex changes. The _fadeOutTimer increment is done by the timer callback occuring during the load method call, but this was excluded by the mutex. Fixed by moving the mutex in the load method.
2011-12-19CINE: Add some comments to the MT-32 instrument code.Johannes Schickel
2011-12-11CINE: Make findNote behave like in the original.Johannes Schickel
This also reverts 42fd6975447b99f4a66ec411a62def2b3b49c5d6, which was wrong, since I misread the assembly. Ooops.
2011-12-11CINE: Fall back to AdLib, in case a user tries to use the MT-32 output with ↵Johannes Schickel
an GM device. The driver is really specific to the Roland MT-32 right now, since it uses MT-32 specific sysEx messages to setup instruments etc.
2011-12-11CINE: Make PC sound code thread safe, since the MIDI output might run the ↵Johannes Schickel
callback in an extra thread.
2011-12-11CINE: Make findNote behave a bit more like the original.Johannes Schickel
2011-12-11CINE: Implement MT-32 output driver.Johannes Schickel
The driver is based on Future Wars. I do not own Operation Stealth, thus I do not know whether it works fine for it.
2011-11-02CINE: Fix warningsEugene 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-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-12-31CINE: Close Memory Leak in PCSoundFxPlayer.David Turner
This leakage was reported by Valgrind while playing Operation Stealth. svn-id: r55070
2010-12-29CINE: Fix Memory Leak in PCSoundFxPlayer.David Turner
Found this using Valgrind when loading a Future Wars savegame from the launcher. Occurs since the load() method called stop() but this did not unload() the allocated playing resource data unless it was still playing. Fixed in stop() by calling unload() in all cases. svn-id: r55059
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-19Convert more engines from Mixer::playRaw to Mixer::playInputStreamMax Horn
svn-id: r47377
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
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-06-20fixed OPL 0xB0 register write. the return value of findNote() already ↵Gregory Montoir
includes the octave, no need to readd it. svn-id: r41704
2008-08-16Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit ↵Kari Salminen
to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything. svn-id: r33935
2008-08-12Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' ↵Kari Salminen
Valgrind warning at sound.cpp:611. svn-id: r33812
2008-05-27CINE: Fixed two memory leaks when shutting down the CINE engineChristopher Page
svn-id: r32332
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2007-12-13use CLIP template for clipping, made an array static const and renamed ↵Gregory Montoir
MAX_OBJECTDATA to MAX_VAR svn-id: r29853
2007-12-13CleanupFilippos Karapetis
svn-id: r29844
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-12-08reverted parts of commits #29447 and #29446 (caused regressions in ADL music ↵Gregory Montoir
playback) and properly (I hope) fixed the sound issues described in tracker item #1763053. svn-id: r29766
2007-11-07Patches #1773489: "FW: Fixes for German Amiga Version"Eugene Sandulenko
svn-id: r29446
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-20some fixes for the music in Amiga OS DemoGregory Montoir
svn-id: r26886
2007-05-19added basic support for Amiga music playbackGregory Montoir
svn-id: r26870