aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
AgeCommit message (Collapse)Author
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
2009-02-07Fix sound noise regression in CD32 version of Simon the Sorcerer 1.Travis Howell
svn-id: r36236
2009-02-01- CleanupJohannes Schickel
- This time fixed the real cause of the mismatching malloc / delete[] call. svn-id: r36191
2009-02-01Oops wrong parameter in last commit.Johannes Schickel
svn-id: r36187
2009-02-01- Fixed mismatching new[] / free.Johannes Schickel
- Fixed bad casting svn-id: r36186
2009-02-01Implemented per voice volume control. (Used for example in LoL intro)Johannes Schickel
svn-id: r36184
2009-02-01svn-id: r36178Florian Kagerer
2009-01-23Renamed Kyra's Resource::getFileStream to createReadStreamMax Horn
svn-id: r36022
2008-11-30- Fix some valgrind warningsJohannes Schickel
- Added MIDI SFX support for Kyra2 svn-id: r35178
2008-11-30Initial version of proper MIDI support for KYRA.Johannes Schickel
svn-id: r35174
2008-08-02Added a member function loadSoundFile to Sound which accepts a filename ↵Johannes Schickel
string instead of a filename list id. svn-id: r33527
2008-08-02Add warning when a voc file is not found.Johannes Schickel
svn-id: r33524
2008-07-24Make sure _musicVolume and _sfxVolume are clipped to fit in a byte.Torbjörn Andersson
svn-id: r33266
2008-07-10Fixed mem leak in MIDI related code.Johannes Schickel
svn-id: r32987
2008-07-06Implemented Good Enough(TM) XMIDI looping. This is used by Kyrandia 2 (theTorbjörn Andersson
loop hack is no longer needed, and has been removed), and will be used by Discworld. svn-id: r32930
2008-06-03Added support for compressed kyra3 audio files.Johannes Schickel
svn-id: r32516
2008-05-27Fixed KyraEngine_v1::snd_stopVoice and KyraEngine_v1::snd_voiceIsPlaying ↵Johannes Schickel
implementations. svn-id: r32330
2008-05-24Little cleanup.Johannes Schickel
svn-id: r32262
2008-05-24Committed my fix for bug #1497437 "KYRA1: Subtitles glitch during 'Speech of ↵Johannes Schickel
the Land'". svn-id: r32260
2008-05-23Cleanup.Johannes Schickel
svn-id: r32226
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-05-07Changed kyra to use delete[] instead of delete [].Johannes Schickel
svn-id: r31925
2008-04-29- Added volume param to KyraEngine::snd_playSoundEffect (0xFF per default as ↵Johannes Schickel
in original) - Renamed KyraEngine_v3::playSoundEffect to KyraEngine_v3::snd_playSoundEffect - Renamed KyraEngine_v3::playMusicTrack to KyraEngine_v3::snd_playWanderScoreViaMap - Renamed KyraEngine_v3::o3_playMusicTrack to KyraEngine_v3::o3_playWanderScoreViaMap svn-id: r31770
2008-04-10Fixed regression in Kyra1.Johannes Schickel
svn-id: r31474
2008-04-10- fixed valgrind warningJohannes Schickel
- reduced midi volume fadeout from 2s to 1s like HoF is doing (Kyra1 should use the same value) svn-id: r31473
2008-04-10Fixed track unloading for MIDI.Johannes Schickel
svn-id: r31472