aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
AgeCommit message (Collapse)Author
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
2006-07-26Make the midi player threadsafe (this should fix bug #1506583 "KYRA1: Crash ↵Johannes Schickel
on exceeded polyphony"). svn-id: r23605
2006-06-02Oops. sfx should be on per default.Johannes Schickel
svn-id: r22845
2006-06-02Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").Johannes Schickel
svn-id: r22844
2006-05-28Added speechEnabled() and textEnabled() to simplify the text/speech config ↵Oystein Eftevaag
checks a bit, and added checks some more places svn-id: r22703
2006-05-28Adding a safety check before the stopHandle call().. May or may not be ↵Oystein Eftevaag
necessary. svn-id: r22698
2006-05-28Fix for [ 1472007 ] KYRA1: Bypassing cutscenes with ESC doesn't stop speechOystein Eftevaag
svn-id: r22697
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-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
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-14Fixes wrong sound then showing the death screen.Johannes Schickel
svn-id: r21290
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-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-14Reworked kyra debug output system. Now he have special kyra intern debug ↵Johannes Schickel
levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now) svn-id: r20678
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582