aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
AgeCommit message (Collapse)Author
2008-04-06Cleanup.Johannes Schickel
svn-id: r31426
2008-04-06Implemented opcode 33 o2_loadSoundfile.Johannes Schickel
svn-id: r31425
2008-04-06Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.Johannes Schickel
svn-id: r31424
2008-04-06- Fixed HACKs in o2_getMusicDriver and o2_getSfxDriverJohannes Schickel
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing) - Added music/sfx type to Sound class svn-id: r31423
2008-04-04Cleaned up volume settings managment.Johannes Schickel
svn-id: r31385
2008-03-28- some accuracy changes for KyraEngine_v2::snd_playSoundEffect()Florian Kagerer
- fix one more skip flag bug in the sequence player - fix SoundTowns_v2::voicePlay() svn-id: r31278
2008-03-21Cleanup.Johannes Schickel
svn-id: r31210
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-07Fixed kyra3 code.Johannes Schickel
svn-id: r30822
2008-02-07Reworked Kyrandia resource loading code.Johannes Schickel
svn-id: r30820
2008-01-11Added some paranoia checks.Johannes Schickel
svn-id: r30398
2008-01-11Fix regression introduced with last commit. (Caused crash in Amiga version)Johannes Schickel
svn-id: r30397
2008-01-10Commit slighty modified patch #1865509 "KYRA: kyradat support for hof".Johannes Schickel
svn-id: r30394
2008-01-03Fix compilationFilippos Karapetis
svn-id: r30204
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-22Logic fix for MixedSoundDriver::init.Johannes Schickel
svn-id: r29953
2007-12-21Reverted too complicated (and unneeded) volume settings code for towns driver.Johannes Schickel
svn-id: r29939
2007-12-16Commit of patch #1848147 "KYRA: SoundTowns Update" with some changes. Thanks ↵Johannes Schickel
to Florian for the patch. svn-id: r29881
2007-11-03Documenting the sound code a bit.Johannes Schickel
svn-id: r29392
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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-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-03-01Simplify code a bit -- got rid of File::incRef usage, an unnecessary member ↵Max Horn
var, fixed a potential memory leak (if all channels are in use), and fixed a potential OOB error (if stopSound(-1) was called) svn-id: r25916
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-20Another batch of header consistency changes.Torbjörn Andersson
svn-id: r25746
2007-02-16Added support for Kyrandia 2 ADL files.Johannes Schickel
svn-id: r25634
2007-01-29cleanupJohannes Schickel
svn-id: r25268
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 CD audio support.Johannes Schickel
svn-id: r25192
2006-08-15- adding LPGL headers to adlib sound specific filesJohannes Schickel
- stating about dual license of adlib sound specific files svn-id: r23708
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-07-26Make the midi player threadsafe (this should fix bug #1506583 "KYRA1: Crash ↵Johannes Schickel
on exceeded polyphony"). svn-id: r23605
2006-06-02Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").Johannes Schickel
svn-id: r22844
2006-05-28Fix for [ 1472007 ] KYRA1: Bypassing cutscenes with ESC doesn't stop speechOystein Eftevaag
svn-id: r22697
2006-05-25Added support for fading digital music in or out.Torbjörn Andersson
svn-id: r22624
2006-05-17Added (optional) looping to the digital sound class.Torbjörn Andersson
svn-id: r22504
2006-05-17- adds AUD file player (has still some problems with playing)Johannes Schickel
- adds a new sound class SoundDigital (only used for Kyra3) (needs more work though) svn-id: r22497
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-03-28- Commits heaviliy modifed patch #1459951 ("KYRA: Combining MIDI music with ↵Johannes Schickel
Adlib sfx") (created a wrapper class for two different sound drivers instead of adding a new variable to the KyraEngine class and chaning stuff there) - Prevents to play track 0 for non mt-32 midi devices (got ugly sound output with windows midi) svn-id: r21479
2006-03-21Implemented "sound triggers" so that the music does not stop shortly afterTorbjörn Andersson
entering the castle. I hope this is a fair approximation of how the original worked. Of course, this led to a couple of more renamings: _unk5 -> _soundTrigger updateCallback54() -> update_setSoundTrigger() snd_setUnk5() -> snd_getSoundTrigger() (yes, "get") At the moment, the only known sound triggers are the ones in the castle. If an unknown trigger is set, the debugging messages will be really, really noisy. I don't know if I should consider this a bug or an extremely annoying feature. svn-id: r21396
2006-03-16More cleanups and renamings: _sfxSecondByteOfSong -> _sfxPriorityTorbjörn Andersson
Added some comments on the strange but probably harmless things going on in playSoundEffect() svn-id: r21340
2006-03-12Fixes non looping tracks and a fading bug, which silenced the music, with mt-32.Johannes Schickel
svn-id: r21236
2006-03-12Music in the last two intro scenes plays now again with adlib.Johannes Schickel
Cleaned up the sound code a bit (removed some unneeded functions). svn-id: r21234
2006-03-09- Removes deleted waitTicks prototype in KyraEngineJohannes Schickel
- Adds sound fading support to the adlib player - Adds support for stopping running tracks - Changes baseFreq type back to uint8 - corrects octave handling in updateAndOutput1 (Thanks to eriktorbjorn for doing that) svn-id: r21185
2006-02-27Added WIP Adlib sound playing code to kyra.Johannes Schickel
It needs some checks since it doesn't work correctly in every case at the moment. svn-id: r20960