aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sound.cpp
AgeCommit message (Collapse)Author
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2011-12-24SAGA: Rework the way audio is bufferedMatthew Hoops
The streams that are created are now used directly instead of SAGA creating its own RawStream after decoding it. In addition, this should fix ADPCM-compressed sounds on big endian systems (as the code was treating the result of readBuffer() to always be LE, whereas it's actual native endian). I've also clarified the bugfix to bug #1256701. It only applies to 16-bit PCM data and the size for other data is no longer truncated too ;)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-19SAGA: Cleanup syncSoundSettings()dhewg
And respect global mute settings
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-10-24SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with ↵Andrew Kurushin
Common::Array svn-id: r53773
2010-06-15SAGA: Fix bug #2886141.Eugene Sandulenko
Bug #2886141: "ITE: Cumulative Snoring sounds in Prince's Bedroom". Implemented safeguard against running same looped sound more than once. svn-id: r49725
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
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-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-20SAGA: Change Sound::playSoundBuffer to enable looping for all sound formatsMax Horn
svn-id: r47405
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-19Convert more engines from Mixer::playRaw to Mixer::playInputStreamMax Horn
svn-id: r47377
2010-01-19SAGA: Move from Mixer::playRaw to playInputStream; add FIXME regarding ↵Max Horn
sounds not being looped svn-id: r47376
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-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44300
2009-08-17Simplified the sound playing code by removing the boolean variables for ↵Filippos Karapetis
signed, stereo, endian and sample bit information - now sound flags are used instead. Some cleanup. svn-id: r43470
2009-08-17Ignore speech and sound effect samples with unknown compression, instead of ↵Filippos Karapetis
trying to play them as raw sound. Some cleanup svn-id: r43467
2009-08-17Made sound effect playing code consistent for compressed and uncompressed ↵Filippos Karapetis
sounds. MemoryReadStream is used again instead of SeekableSubReadStream, as there will be issues when multiple sound effects or voices are played simultaneously svn-id: r43466
2009-08-17CleanupFilippos Karapetis
svn-id: r43460
2009-01-04Improved handling of sound resourcesFilippos Karapetis
svn-id: r35724
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-19Removed the hasKey() hackery of my previous commit and used ↵Filippos Karapetis
ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default svn-id: r35437
2008-12-19Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct ↵Filippos Karapetis
default values for missing config manager settings svn-id: r35436
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-07-21Separated Speech from SFX in SAGA, improved configuration of SAGA sound ↵Christopher Page
settings through the GMM svn-id: r33176
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-23Moved MemoryStreamEndian from Saga to Common.Eugene Sandulenko
svn-id: r29038
2007-07-15Fixed sound factory messup caused by my previous commitMax Horn
svn-id: r28111
2007-07-10Fix for bug #1751344 - "ITE: p2_a.iaf not played correctly"Filippos Karapetis
svn-id: r28018
2007-06-25Improvements to the SAGA compressed sound supportFilippos Karapetis
svn-id: r27717
2007-06-25Add support for compressed sound effects, digital music and speech to the ↵Filippos Karapetis
SAGA engine svn-id: r27713
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-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-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582