aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/sound_he.cpp
AgeCommit message (Collapse)Author
2016-05-21SCUMM: Reduce audio header dependenciesOri Avtalion
2016-05-08SCUMM HE: Safeguard division by zeroEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-02-25SCUMM: Fix the lip sync animation in later HE games.Kirben
2014-02-18SCUMM: Make GPL headers consistent in themselves.Johannes Schickel
2013-01-09SCUMM: Cleanup ScummEngine_v80he::createSound()Matthew Hoops
Added some comments to make it more readable. Switched usage of a temporary buffer and a double memcpy with a memmove. Also fixed a potential out-of-bounds write, thanks to LordHoto.
2012-06-09SCUMM: Add HE101 version, for debugInput opcode difference in some HE100 games.Travis Howell
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-11-06SCUMM: Stream sfx/voice sounds from mouster.sou.Johannes Schickel
This fixes sound corruption when using the new VOC streaming code. It also reduces the runtime memory needed for compressed sound files slightly, since it does not preload them into memory anymore. This comes at the expense of one file descriptor needed per sfx being played though. Thanks to Kirben for his review and feedback.
2011-05-14SCUMM: Remove some unused var warnings (see bug #3293800)Max Horn
2011-05-13SCUMM: Move class ResourceManager to its own headerMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-23SCUMM: Use explicit XOR decoding code in BaseScummFile subclassesMax Horn
This made it possible to turn some MemoryReadStream pointers into plain SeekableReadStream pointers. svn-id: r54435
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-10-18SCUMM: Check the sound channel is valid, before checking the sound channel.Travis Howell
svn-id: r53562
2010-10-18SCUMM: Check the sound channel is valid, before checking the sound channel.Travis Howell
svn-id: r53561
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-27Fix sound regression in HE games.Travis Howell
svn-id: r47596
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-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::playRaw for goodMax Horn
svn-id: r47394
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-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2009-11-22Add patch #2876221 - FBEAR: Fix for MIDI piano notes (DOS version), with ↵Travis Howell
minor change. svn-id: r46081
2009-10-14Patch #2834677: Wave/ADPCM Endianness FixesMax Horn
svn-id: r45095
2009-08-21Improved comments.Robin Watts
svn-id: r43619
2009-08-21Attempt to fix builds that use the ARM screen column clear code; add newRobin Watts
bitdepth argument that was missing in ARM builds previously. Also fix a few warnings. Also fix the WinCE build which fails in the SDL init call with a missing bitdepth field. Untested at this point (build certainly gets further than before). Committing this seems reasonable, as it can't make it any worse :) svn-id: r43614
2009-08-12Fix building with specific games disabled in MSVC.Travis Howell
svn-id: r43294
2009-06-05Update sound code in HE80+ games, for sound rate differences.Travis Howell
svn-id: r41185
2009-06-03Correct sound timer and disable sound offsets, in later HE games.Travis Howell
svn-id: r41132
2009-01-10setQuickStartFlag is different value in HE100 games.Travis Howell
svn-id: r35803
2009-01-10Correct sound timer, when sound compression is used in HE games.Travis Howell
svn-id: r35800
2009-01-10Fix warning.Travis Howell
svn-id: r35799
2009-01-10Fix compiling SCUMM engine, with HE71+ games disabled.Travis Howell
svn-id: r35798
2009-01-09Correct sound priority and SBNG offsets, in later HE games.Travis Howell
svn-id: r35795
2009-01-09Fix bug #2029639 - PAJAMA1: Lip Syncing.Travis Howell
svn-id: r35794
2007-11-23don't pass a pointer in a middle of a resource buffer with mixer AUTOFREE ↵Gregory Montoir
flag set (untested but probably fixes #1754525) svn-id: r29618
2007-11-16Changed Audio::makeADPCMStream so that the stream passed to it can ↵Max Horn
automatically be disposed svn-id: r29517
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-03-02cleanupMax Horn
svn-id: r25927
2007-02-03* Reimplemented Mixer::pauseAll to simply invoke pause on all channelsMax Horn
(implying change of semantics) * Reordered the params of Mixer::playRaw (the SoundType now comes first, not last) * Removed Mixer::isPaused * Removed Mixer::getSoundElapsedTimeOfSoundID * Added some doxygen comments to the Mixer svn-id: r25356
2006-10-21cleanupMax Horn
svn-id: r24407