aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
AgeCommit message (Collapse)Author
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
2007-02-03Fixes FM-Towns New Game Save.Johannes Schickel
svn-id: r25358
2007-01-31Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips ↵Johannes Schickel
animation"). svn-id: r25313
2007-01-29- adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)Johannes Schickel
- gets rid of GameFlags::hasAudioCD svn-id: r25258
2007-01-26little parameter reodering.Johannes Schickel
svn-id: r25201
2007-01-25Adds special case in snd_playSoundEffect for CD audio.Johannes Schickel
svn-id: r25193
2007-01-25Adds CD audio support.Johannes Schickel
svn-id: r25192
2006-10-29Always stop the audio handle in Sound::voicePlay.Johannes Schickel
svn-id: r24569
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-09-09Renamed Resource::fileHandle() to Resource::getFileHandle()Max Horn
svn-id: r23853
2006-08-03This is a grossly over-simplified, yet hopefully sufficient for Kyrandia, wayTorbjörn Andersson
of handling XMIDI loops. If anyone feels like doing it properly in midiparser_xmidi.cpp, the Exult project probably has one of the better reference implementations. For now, though, I don't see any real need to, and this change is clearly flagged as a hack. svn-id: r23656
2006-08-01Kyra 2 has two types of XMIDI files: XMI and C55. It seems C55 are for theTorbjörn Andersson
General MIDI instrument set, so use them unless we're in MT-32 mode. This makes the music sound a bit closer (at least to me) to what DOSbox plays. svn-id: r23653
2006-08-01Don't set the MIDI volume to 255 at the end of a fade-out. At least on myTorbjörn Andersson
hardware, that causes an annoying spike in the volume. We already reset the volume to 255 at the beginning of a new track anyway, as far as I can tell. svn-id: r23650