aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/drivers
AgeCommit message (Collapse)Author
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-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-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-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-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: 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-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-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
2010-11-26SCI: Only filter channels for early SCI0, as GM currently uses all channels.Walter van Niftrik
svn-id: r54498
2010-11-26SCI: Send the SCI0 reverb init after reading the reverb dataFilippos Karapetis
svn-id: r54492
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: 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: 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: 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
2010-11-24SCI: Added a getReverb() accessor to the SciMusic classFilippos Karapetis
svn-id: r54456
2010-11-24SCI: Added a TODO for the default reverb valueFilippos Karapetis
svn-id: r54454
2010-11-24SCI: Read MT-32 reverb data correctly (patch #3117434)Filippos Karapetis
svn-id: r54453
2010-11-23SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, ↵Filippos Karapetis
like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either svn-id: r54428
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-10SCI3: Some changesFilippos Karapetis
- Placed the SCI3 version detection in the proper place - Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are ignored, for now svn-id: r54188
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-10-28SCI: Added some missing GM mappings for MT-32 instruments:Filippos Karapetis
- MT-32 Castanets -> GM Claves - MT-32 OneNoteJam -> GM Celesta - MT-32 JungleTune -> GM Pan Flute For PQ3 (from rev #53902, not in the commit description): - MT-32 Warm Pad -> GM Pad 2 (warm) Thanks to digitall and waltervn for their help with these svn-id: r53907
2010-10-28SCI: Split the GM related names out of map-mt32-to-gm.h and into a separate ↵Filippos Karapetis
header file svn-id: r53906
2010-10-28SCI: Fixed compilation and added include safeguards to map-mt32-to-gm.hFilippos Karapetis
svn-id: r53904
2010-10-28SCI: Improved the description of the "map_instrument" console command a bit. ↵Filippos Karapetis
Also, the dynamic mappings are now checked before the static ones svn-id: r53903
2010-10-28SCI: Several changes related to MT-32 -> GM mappingFilippos Karapetis
- Changed C - style comments in map-mt32-to-gm.h to C++ - style comments - Added a new dynamic MT-32 -> GM mapping, complementary to the normal one, which can be done on the fly using the new console command "map_instrument" - The "show_instruments" command has been moved to the music section and now displays the instruments of the game which aren't in the MT32-> GM mapping svn-id: r53902
2010-09-24SCI: Implement voice mapping for CMS driver.Johannes Schickel
svn-id: r52871
2010-09-19SCI: Added documentation for the different music patches in SCI gamesFilippos Karapetis
svn-id: r52802
2010-09-17SCI: Fix compilation on AmigaOS.Johannes Schickel
svn-id: r52784
2010-09-17SCI: Add CMS driver for SCI1-SCI1.1.Johannes Schickel
svn-id: r52781