aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/sound.cpp
AgeCommit message (Collapse)Author
2014-03-09AGOS: Fix sound offset table access for StS 2 Mac/Amiga.Johannes Schickel
This (hopefully) fixes bug #6549: "#6549 AGOS: Simon2 Amiga Datafiles crashes with assertion in Intro". I don't have any copy of StS 2 Mac/Amiga thus I cannot test this. This bug was caused by a regression in c82a75df69aa5d8f36eae52deee508ef9a61e49e.
2014-03-05AGOS: Correct typos in comments.Kirben
2014-02-18AGOS: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-01-26AGOS: Fix silly copy&paste mistake, which broke Vorbis and MP3 support.Johannes Schickel
2012-01-26AGOS: Rework digital sound playback.Johannes Schickel
The BaseSound class does now only save the sound filename instead of a file handle. When a new sound is started a new file handle is created, which assures that each sound uses a different file handle and thus allows for directly streaming sounds from disk. This fixes bug #3475610 "AGOS: Wrong sound effects during intro of Simon 2 (DOS)".
2011-11-03AGOS: Merge duplicate code remaining from refactoring in the past.Travis Howell
2011-11-02AGOS: Fix warningsEugene Sandulenko
2011-10-09AUDIO: Add default disposeAfterUse value to makeVOCStream again.Johannes Schickel
2011-10-09AUDIO: Remove unused makeVOCStream interface.Johannes Schickel
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
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-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-09-26AGOS: Hopefully fix bug #3000876 ("FF: Crackling/static popping")Torbjörn Andersson
We want the WAV stream in playSounData() to contain the entire WAV data, but the size we read does not include the eight first bytes. svn-id: r52908
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26AGOS: Turn BaseSound into a subclass of Common::NonCopyableMax Horn
svn-id: r47581
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-23Update comments.Travis Howell
svn-id: r47461
2010-01-23Fix regressions, only the Amiga CD32 version of Simon the Sorcerer 1 used ↵Travis Howell
signed sound data. svn-id: r47460
2010-01-23AGOS: Further unify code related to compressed soundMax Horn
svn-id: r47458
2010-01-23AGOS: Fix memory leak in Sound::loadSfxTableMax Horn
svn-id: r47457
2010-01-23AGOS: Turn BaseSound::makeAudioStream into a pure virtual methodMax Horn
svn-id: r47456
2010-01-23AGOS: Unify code related to compressed soundMax Horn
svn-id: r47455
2010-01-23AGOS: Get rid of FLAG_LOOP usageMax Horn
svn-id: r47454
2010-01-23AGOS: Start to refactor sound handlingMax Horn
svn-id: r47453
2010-01-22AGOS: Add FIXME for a memory leakMax Horn
svn-id: r47452
2010-01-22AGOS: cleanupMax Horn
svn-id: r47451
2010-01-22AGOS: Rearrange sound code a bitMax Horn
svn-id: r47450
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-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-08Since AudioStream looping is no longer handled by the Mixer, drop ↵Johannes Schickel
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160
2010-01-07Cleanup.Johannes Schickel
svn-id: r47133
2010-01-07Make makeWAVStream return a RewindableAudioStream.Johannes Schickel
svn-id: r47129
2009-12-28Create the stream dynamically in playSoundData(), to avoid a crash (spotted byTorbjörn Andersson
salty-horse) when makeWAVStream() deletes it. svn-id: r46676
2009-10-14Patch #2834677: Wave/ADPCM Endianness FixesMax Horn
svn-id: r45095
2009-08-15Fix regression, that caused multiple sounds in Simon the Sorcerer 2 to be ↵Travis Howell
cut off. svn-id: r43400
2009-08-13Allow VOCs to stream from disk. Disabled by default, use symbol ↵Neil Millstone
STREAM_AUDIO_FROM_DISK to enable. See patch #2834001. svn-id: r43357
2009-05-04Fix the car chase scene in PN.Travis Howell
svn-id: r40299
2009-03-08Add initial support for Personal Nightmare.Travis Howell
Thanks to dreammaster for file decompression and icon decoding code. NOTE: setjmp/longjmp code will require conversion for portability. svn-id: r39216
2009-01-27Add/Update comments.Travis Howell
svn-id: r36094