aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
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
2010-11-25SCI: Added support for the alternate Windows MIDI soundtracks of the CD ↵Filippos Karapetis
versions of EcoQuest, Jones, KQ5 and SQ4 svn-id: r54476
2010-11-25SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.Walter van Niftrik
svn-id: r54471
2010-11-25SCI: Fixed digital audio at the beginning of KQ5CD and removed a hack for ↵Filippos Karapetis
the Windows version svn-id: r54466
2010-11-25SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the codeFilippos Karapetis
svn-id: r54465
2010-11-25SCI: Added support for the alternative GM tracks of the Windows version of ↵Filippos Karapetis
KQ5CD (bug #3041239) Note that the empty GM track for the Sierra logo makes the game hang, so the MT-32 track is used, which sounds awful svn-id: r54464
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-24SCI/SOUND: Applied patch #3117577 - "SCI: MT-32 plays "warble" of notes when ↵Filippos Karapetis
music resumes", with some slight modifications This is only used by SCI for now, but it is probably correct to apply this for all engines, thus an appropriate TODO has been added svn-id: r54460
2010-11-24SCI: Moved handling of special reverb value 127 outside of the MIDI driverFilippos Karapetis
svn-id: r54459
2010-11-24SCI: some changes to the way reverb is handledFilippos Karapetis
- "Invalid" SCI reverb values (127) are properly handled now - SCI kDoSound(reverb) sets the global reverb (renamed it accordingly) - kDoSound(reverb) can also return the current reverb if no parameter is sent svn-id: r54457