aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
AgeCommit message (Collapse)Author
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
2008-04-10Lock mutex in playSoundEffect, should help threading safeness of the code.Johannes Schickel
svn-id: r31469
2008-04-10Small fix related to all notes off event.Johannes Schickel
svn-id: r31468
2008-04-10- Updated debug output for KyraEngine::snd_playThemeJohannes Schickel
- cleanup svn-id: r31464
2008-04-07Some MIDI related cleanup.Johannes Schickel
svn-id: r31443
2008-04-06Implemented opcode 33 o2_loadSoundfile.Johannes Schickel
svn-id: r31425
2008-03-22- fixed bug in Sound::voiceIsPlayingJohannes Schickel
- fixed speech animation duration in Kyra1 svn-id: r31221
2008-03-21- Implemented opcode 97: o2_isAnySoundPlayingJohannes Schickel
- reworked sound channel handling in HoF => fixed some voice related bugs svn-id: r31209
2008-02-17committing patch 1891492 : dialogue (dlg/tim) support for HoFFlorian Kagerer
- talking to NPCs is now possible. - Zanthia's talks when entering a new scene for the first time now work - using items on Zanthia is now possible. svn-id: r30886
2008-02-07Reworked Kyrandia resource loading code.Johannes Schickel
svn-id: r30820
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-12Commit patch #1869749 "KYRA: HoF Towns Audio fix".Johannes Schickel
svn-id: r30438
2008-01-03Committed slightly modified patch #1862758 "KYRA: audio data assignment patch".Johannes Schickel
svn-id: r30198
2007-12-26Simplification of GM vs MT-32 detection.Johannes Schickel
svn-id: r29997
2007-12-24Cleanup(/formatting).Johannes Schickel
svn-id: r29983
2007-11-05Committing '[ 1824376 ] KYRA: more sequence player code' from Florian, with ↵Oystein Eftevaag
a couple of warnings fixed svn-id: r29417
2007-10-13- moved some voice functionallity from KyraEngine_v1 to KyraEngineJohannes Schickel
HoF: - added voice support - implemented opcodes -> o2_setVocHigh 167 -> o2_getVocHigh 168 -> o2_isVoiceEnabled 170 -> o2_isVoicePlaying 171 -> o2_stopVoicePlaying 172 -> o2_getGameLanguage 173 svn-id: r29201
2007-10-10- Made some sound functions a bit more generic for use with Kyra1 and Kyra2Johannes Schickel
HoF: - Added sound support (sfx sound wrong currently though) - Implemented opcodes: -> o2_loadMusicTrack -> o2_playWanderScoreViaMap -> o2_playSoundEffect -> o2t_playSoundEffect svn-id: r29183
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-29Restructure Kyrandia sourcecode (part 2, compiling works again)Johannes Schickel
svn-id: r28296
2007-07-15Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data ↵Max Horn
which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway) svn-id: r28110
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-04-15Formatting/Cleanup.Johannes Schickel
svn-id: r26511
2007-04-01made _vm/_engine usage consistent. (_engine -> _vm all over the place now).Johannes Schickel
svn-id: r26342
2007-03-24Commit of patch #1686414 ("Kyra: FM-Towns music").Johannes Schickel
svn-id: r26285
2007-02-24Trying to unify the order in which we try the various audio formats: Prefer ↵Max Horn
FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM svn-id: r25837
2007-02-08ops.Johannes Schickel
svn-id: r25424
2007-02-08- fixed crash in FM-Towns version when entering the grottoJohannes Schickel
- fixed some palette issues svn-id: r25423