aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
AgeCommit message (Collapse)Author
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
2006-02-17Reduced header dependenciesMax Horn
svn-id: r20743
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582