aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
AgeCommit message (Collapse)Author
2019-03-06KYRA: cleanup dirathrxx
Reorganize all files in sub directories. The file placement isn't as intuitive as it might be for other engines, which is probably the reason why this hasn't been done before.
2016-02-09KYRA: Run astyle on sound.cpp.Johannes Schickel
2014-02-18KYRA: 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-11-23KYRA: Make Sound::hasSoundFile const again.Johannes Schickel
2012-11-11KYRA: clean up audio resource handlingathrxx
(this was really ugly, now it's somewhat less ugly)
2012-11-11KYRA: implement LOL sfx priority handlingathrxx
2011-12-26KYRA: (EOB) - initial code base commitathrxx
2011-12-26KYRA: (AdLib Driver) - implement sound effects volumeathrxx
(also make internal driver version more flexible)
2011-11-06AUDIO: Implement a basic VocStream class.Johannes Schickel
Now all VOCs are streamed rather than preloaded. This deprecates the STREAM_AUDIO_FROM_DISK define, which was previously used to stream VOCs from disk. This might very well break some engines which relied on the stream not being changed after makeVOCStream! I adapted all engines which had a check for STREAM_AUDIO_FROM_DISK in their code. It would be wise to check all other engines using VOC to see if this might cause any problems for them.
2011-10-29KYRA: Move MixedSoundDriver implementation to sound.cpp.Johannes Schickel
2011-10-29KYRA: Prefer Common::String over plain char arrays in Sound.Johannes Schickel
2011-10-29KYRA: Get rid of Sound's voiceFileIsPresent in favor of isVoicePresent.Johannes Schickel
2011-10-29KYRA: Make more methods of Sound const.Johannes Schickel
2011-10-29KYRA: Move non-empty virtual methods of Sound from sound.h to sound.cpp.Johannes Schickel
2011-10-22KYRA: Fix memory leak when a sound is started but no free handles are left.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-04KYRA: cleanup last commitathrxx
2011-05-29KYRA: pause midi sounds while gmm is runningathrxx
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
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-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-20Fix out of bounds access.Johannes Schickel
svn-id: r48338
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-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-06Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47062
2010-01-05Remove unsafe getTotalPlayTime from AudioStream.Johannes Schickel
svn-id: r47037
2010-01-05- Add a new SeekableAudioStream interface. Soon to be used to replace audio ↵Johannes Schickel
stream specific looping code by generic code in Mixer... - Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-08-16merge with trunkNorbert Lange
svn-id: r43443
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-08-08Implemented support for Amiga wander score map.Johannes Schickel
svn-id: r43133
2009-05-29- Add new method "isVoicePresent" to "Sound".Johannes Schickel
- Change LoL character selection to use it. - Allow quitting ScummVM in LoL character selection. svn-id: r41008
2009-05-24Cleanup.Johannes Schickel
svn-id: r40850
2009-05-24Make various Sound functionality SoundHandle instead of filename based.Johannes Schickel
- This fixes multiple sounds being played at once in Lands of Lore svn-id: r40848
2009-05-24- Reorder supported codecs listJohannes Schickel
- Add changes for upcoming audio compression changes (file extensions changed to standard ones) svn-id: r40843
2009-05-23Cleanup.Johannes Schickel
svn-id: r40841
2009-05-23KYRA/LOL: restructured voice playing code so that audio compression can be ↵Florian Kagerer
supported svn-id: r40839
2009-05-21Remove trailing tabs/whitespaces.Johannes Schickel
svn-id: r40760
2009-05-19Remov lots of superfluous debug output.Johannes Schickel
svn-id: r40715
2009-05-10LOL: - added some spell casting (spark, heal, swarm)Florian Kagerer
- fixed several bugs (not the one in the fighting system though) - added several opcodes. there shouldn't be any real show stoppers in the draracle cave now. - simplified wsa code (which required 4 lines of code for displaying a frame) - added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file) svn-id: r40420
2009-04-21Fix for Kyra 1 Mac CD music (check bug report #2772727 "KYRA1: Sound effect ↵Johannes Schickel
loops continuously (Mac CD)"). svn-id: r40039
2009-03-09LOL: minor fix for text displayer (text pages now advance automatically when ↵Florian Kagerer
the speech has reached the next part) svn-id: r39250
2009-03-08LOL: some more work on the text displayer so that it handles longer texts ↵Florian Kagerer
(needed for some library books) svn-id: r39249