aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13SCI: Ensure openCD() is calledMatthew Hoops
2016-03-08SCI: Separate the demos of QFG4, PQ4 and GK1 from their full versionsFilippos Karapetis
The demo versions of these games were using a very different engine - SCI1.1 vs SCI2/SCI2.1. Thus, we split them into different game IDs, to avoid mixing specific game checks for them, as well as specific game workarounds, which are different for the demos than the full versions. Also, the demos should be working when SCI32 is disabled. For these games, we don't use ADGF_DEMO, to avoid game IDs like foodemo-demo
2016-03-01SCI: Use uint32 instead of unsigned intFilippos Karapetis
2016-01-15SCI: Add a hack in music init for MUMG Deluxe, so that it startsFilippos Karapetis
2016-01-03SCI: sciAudio support for .wav + .aiff filesMartin Kiewitz
2016-01-03SCI: sciSound: check compression typeMartin Kiewitz
2016-01-02SCI: fix sciAudio not doing loops correctlyMartin Kiewitz
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2015-07-07SCI: Delete OPL when init failsWalter van Niftrik
2015-07-07SCI: Check OPL init return codeWalter van Niftrik
2015-07-07AUDIO: Remove all AudioStream access to OPLMatthew Hoops
2015-07-07SCI: Use the built-in OPL timerMatthew Hoops
2015-07-07AUDIO: Remove the sample rate configuration from the OPL codeMatthew Hoops
2015-06-06AUDIO: Make makeAIFFStream return a RewindableAudioStreamMatthew Hoops
All callers requiring SeekableAudioStream have been adapted by using dynamic_cast
2015-06-04SCI: Only use makeAIFFStream instead of loading the sound twiceMatthew Hoops
2015-02-18SCI: Fix digital audioWillem Jan Palenstijn
Regression from 5028487038fd, where I assumed all songs were MIDI.
2015-02-15SCI: Add more audio debugging outputWillem Jan Palenstijn
2015-02-15SCI: Fix version check for MIDI controller 4EWillem Jan Palenstijn
This is only supported since SCI1 middle, as verified with xmas1990, SCI1 mgoose, SQ4 floppy, LSL1, Jones floppy. Fixes missing sounds in Jones floppy.
2015-02-15SCI: Fix sound object frame selector rateWillem Jan Palenstijn
Thanks waltervn. Verified against asm (QfG2, KQ6CD)
2015-02-15SCI: Only allow a single 'playBed' song in SCI1earlyWillem Jan Palenstijn
2015-02-15SCI: Allow channel remapping from audio thread tooWillem Jan Palenstijn
2015-02-15SCI: Use sound resource priority by default for songsWillem Jan Palenstijn
SCI1 sound resources can have an embedded priority. We now use that by default, unless an explicit DoSound/SetPriority call overrides it. Thanks waltervn. This fixes relative priority of songs in at least PQ3 room 29. Also increase savegame version to 33.
2015-02-15SCI: Give songs that start playing later higher priorityWillem Jan Palenstijn
2015-02-15SCI: Add debugging outputWillem Jan Palenstijn
2015-02-15SCI: Handle voice limits differentlyWillem Jan Palenstijn
For playBed songs, SCI1early remappers didn't unmap the entire song when there weren't enough voices for a channel. Thanks waltervn.
2015-02-15SCI: Don't remap channels from playBed songsWillem Jan Palenstijn
2015-02-15SCI: Always re-sort playlist in soundPlayWillem Jan Palenstijn
Previously, it would only sort if a song wasn't already in the playlist. Since initSound already adds it, this effectively prevented the list from being sorted.
2015-02-14SCI: Register and save playBed option to PlaySoundWillem Jan Palenstijn
The playBed option is not handled yet, only stored. This increases the savegame format version.
2015-02-14SCI: Match SSCI channel reset orderWillem Jan Palenstijn
It may or may not matter for a driver's voice mapping.
2015-02-14SCI: Initialize voice counts in SCI1+Willem Jan Palenstijn
2015-02-14SCI: Avoid resetting already unused channelsWillem Jan Palenstijn
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-10-13SCI: Fix bug #6725 - "SCI: LSL5 Mac doesn't launch with MT-32 music"Filippos Karapetis
Thanks to waltervn for his help
2014-10-13SCI: Add comments for the MT-32/GM patch contentsFilippos Karapetis
2014-08-22MISC: Fix typo s/Adlib/AdLib/ (only where visible to the user)Ben Castricum
2014-07-24SCI: Small formatting fix.Johannes Schickel
2014-06-01SCI: Silence a gcc conversion warningMatthew Hoops
2014-05-29SCI: kDoSound: only one sample at once - thx wjpMartin Kiewitz
Calling kDoSound(play) on a sample will stop currently playing sample Fixes Space Quest 5 air-lock sound issue (bug #6464) Thanks to wjp for tracking the issue down
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-05-25SCI: Make debugging output conditionalWillem Jan Palenstijn
2014-05-25SCI: Fix voice mapping during midi channel remappingWillem Jan Palenstijn
This fixes the first Patti dream sequence piano song in LSL5 room 320.
2014-03-28SCI: Add missing USE_MAD check for commit 6a519f7fFilippos Karapetis
This fixes compilation for platforms where libmad isn't present
2014-03-28SCI: Initial implementation of the fanmade sciAudio libraryFilippos Karapetis
This is used in the fanmade games "LockerGnome Quest Redux" and "Betrayed Alliance"
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-27SCI: Fix breakage from f92df4c6Alyssa Milburn
2014-01-06SCI: Fix memory leakWillem Jan Palenstijn
Thanks to digitall for testing.
2013-12-31SCI: Remove no longer necessary hackWillem Jan Palenstijn
2013-12-31SCI: Rewrite MIDI channel remappingWillem Jan Palenstijn
This adds MIDI state tracking to allow channels to be temporarily unmapped and later re-mapped when there are free device channels available again.