aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2011-04-28SCI: Added a more specific workaround for bug #3267956. This fixes bug ↵md5
#3291115 - "KQ6: Game freezes when getting paper from web"
2011-04-27SCI: Removed unused variablesmd5
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-15SCI: Some initial work on supporting patch.005 in KQ1 Amigamd5
2011-04-13SCI: Added handling for another version of mt32.drv (bug #3285556)md5
This is used in another version of KQ4 early (0.000.274)
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-04-03SCI: Fixed fading-related bugs #3267956 and #3041738md5
2011-04-03SCI: Show object names in the songlib console commandmd5
2011-04-03SCI: Fixed bug #3266480 and partially fixed bug #3041738md5
Hopefully, this will fix some of the oddities happening because of music fading
2011-04-02SCI: Replace not required emumidi headerdhewg
2011-03-27SCI: Fix default pan value in MIDI driver.Walter van Niftrik
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-03SCI: Always clear looping and hold before jumpToTick() is calledmd5
Fixes a crash in LSL3 Amiga
2011-03-03SCI: Don't ignore SysEx messages at the driver level but warn insteadmd5
SysEx messages in the driver are usually the result of a bug which should be investigated and not silently ignored
2011-03-03SCI: Slight cleanup of some sound driversmd5
2011-03-01SCI: Fixed bug #3039188 - "LSL2 Amiga: Failed to Initialize Sound Driver error"md5
This was a signed/unsigned issue. Also fixed compilation when DEBUG is enabled. Thanks to waltervn for his help on this.
2011-02-28SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107md5
While fast forwarding a song, disable its hold value together with any possible sound looping, so that the song won't loop forever.
2011-02-28SCI: Fixed bug #3106107 - "QFG3: Crash when saving outside palace"md5
Ignore requests to alter a song's hold value while it's being faded, and reset a song's hold value when fading starts. This ensures that the song will actually stop when fading is done and won't keep looping forever.
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-26SCI: Avoid hiding overloaded virtual methodsOri Avtalion
2011-02-26SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL ↵md5
driver, thanks to waltervn
2011-02-26SCI: Added support for reading data off the MT32.DRV driver found in LSL2 ↵md5
early (bug #3192627)
2011-02-25SCI: Changed the fix for the intro of Longbow (bug #3044844) into a hack for ↵md5
that scene. Fixes the freeze in LSL6 (bug #3192166). Fading in KQ5 is unaffected by this.
2011-02-24SCI: Fixed two bugs related to music fadingmd5
- bug #3037594: "KQ5: Music not fading when brigands leave temple" - bug #3044844: "LONGBOW: Intro skips each first verse of song"
2011-02-10SCI: Added comments to the FB-01 and MIDI drivers. The original driver files ↵Filippos Karapetis
are only needed in SCI0 early games, which didn't include separate sound patch resources. Thanks to waltervn for the information he supplied svn-id: r55875
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-06SCI: Several changes related to robot filesFilippos Karapetis
- Added WIP robot sound support (which has pops between each frame for some reason) - Now handling a lot of previously ignored fields - Now handling the chunk before the palette chunk properly. Fixes some v6 videos - Added known robot related TODOs svn-id: r55793
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-02-02SCI: Fix Mac sync resource supportMatthew Hoops
svn-id: r55716
2011-01-15SCI: Bugfix for r55246: Don't send init commands when resuming a soundFilippos Karapetis
svn-id: r55247
2011-01-15SCI: Fixed bug #3034974 - "SCI: Music out of tune after loading a save"Filippos Karapetis
svn-id: r55246
2011-01-10SOUND: Get rid of unused forward declarations in mixer.h.Johannes Schickel
svn-id: r55197
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2010-12-23SCI: Some initial work on the sound of robot videos (doesn't work yet, seems ↵Filippos Karapetis
to be a problem with the encoding of the customized SOL audio files in robot videos) svn-id: r55023
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-27SCI: Removed bogus warningFilippos Karapetis
svn-id: r54512
2010-11-27SCI: Fix for bug #3119713 - "PQ2: song-specific reverb changes are ignored" ↵Filippos Karapetis
(thanks to waltervn) svn-id: r54509
2010-11-26SCI: Pull reverb default directly from control channel.Walter van Niftrik
svn-id: r54499
2010-11-26SCI: Only filter channels for early SCI0, as GM currently uses all channels.Walter van Niftrik
svn-id: r54498
2010-11-26SCI: Added a define to turn off channel remapping (for debugging)Filippos Karapetis
svn-id: r54496
2010-11-26SCI: Send the SCI0 reverb init after reading the reverb dataFilippos Karapetis
svn-id: r54492
2010-11-26Fixed bug with r54485Filippos Karapetis
svn-id: r54488
2010-11-26SCI: set the reverb setting of the current song when a relevant event is ↵Filippos Karapetis
fired from the MIDI stream svn-id: r54485
2010-11-25SCI: Some reverb-related changes in the MIDI driver, based on a patch by ↵Filippos Karapetis
waltervn svn-id: r54484
2010-11-25SCI: Initialize reverb in the music driver correctly. Based on a patch by ↵Filippos Karapetis
waltervn svn-id: r54483
2010-11-25SCI: Global reverb can't be 127. Some cleanupFilippos Karapetis
svn-id: r54482
2010-11-25SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: ↵Filippos Karapetis
Assertion in midi.cpp" (regression from r54478) svn-id: r54481
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478