aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2011-09-26SCI: Changes to the sound resource initialization codeFilippos Karapetis
- Unified the sound resource initialization code in processInitSound() and reconstructPlayList() - Now checking the "Mixed Adlib/MIDI" mode checkbox for SCI1.1 digital audio sound effects, like it's done for SCI0 - SCI1 sound effects. If it's unchecked, their MIDI counterparts will play instead, if available
2011-09-24SCI: Always reset hold when starting a new song. Fixes bug #3413589 - "SCI: ↵Filippos Karapetis
KQ6CD: Game stops responding in the catacombs" kDoSoundSetHold is always called after kDoSoundPlay. A regression from commit 4f3b85f4efc05affb7b4a7080e349360a3352048
2011-09-23SCI: Fixed bug #3413301 - "SCI: KQ6CD: Game stops responding at the bookworm"Filippos Karapetis
2011-09-08SCI: Made some static data const.Johannes Schickel
2011-08-28SCI: Fixed bug #3297883 - "SCI: LB1 (Amiga) - Intro stuck"Filippos Karapetis
2011-08-26SCI: Fixed bug #3311911 - "SCI: QFG3: Intro music abruptly stops"Filippos Karapetis
2011-08-25SCI: Fixed bug #3392767 - "SCI: SQ4 (English/CD/Win): Engine Abort In ↵Filippos Karapetis
Timepod Hangar" This bug only manifested in the Windows version of SQ4CD. Some Windows MIDI music tracks are missing from room 530, which messed up the animations in that scene, and led to a crash. Moved the code that obtains the song number from an object into a separate function. Also, fixed a bug in kDoSoundSetPriority().
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-07SCI: Add more debug output to AmigaMac sound driverWalter van Niftrik
2011-06-07SCI: Use Sound debug channel in AmigaMac sound driver.Walter van Niftrik
2011-05-13SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is definedmd5
2011-05-12SCI: Added a warning for SCI0 games like in bug #3297881md5
LB1 Amiga doesn't contain MT-32 music tracks. Added a warning for this situation
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28SCI: Clarify comment from rev 5654e12 furtherWillem Jan Palenstijn
2011-04-28SCI: Clarified comment in rev 5654e12md5
It's a bad idea to write comments when half asleep :P
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