aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-25SCI: only send new volume to currently mapped channels, fixes assert in sq1 ↵Martin Kiewitz
because setVolume is called on an object that's currently not playing. added fixme svn-id: r50274
2010-06-24Changed a warning which seems like regular SCI behavior into a debugCFilippos Karapetis
svn-id: r50218
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-22SCI: removing unneeded capacity uint from r50143Martin Kiewitz
svn-id: r50147
2010-06-22Add support for the QFG3 demo audio map and audio resources. Based on a ↵Matthew Hoops
patch by Walter. svn-id: r50144
2010-06-22SCI: change midi queue to Common::Array and make it resize itself if needed ↵Martin Kiewitz
instead of error() svn-id: r50143
2010-06-21SCI: fades already send out commands directlyMartin Kiewitz
svn-id: r50131
2010-06-21SCI: instead of queueing inside midiparser, we are queueing now globally in ↵Martin Kiewitz
SciMusic, also some little cleanup svn-id: r50130
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21SCI: added fixme about r50110/r50073Martin Kiewitz
svn-id: r50115
2010-06-21SCI: fix regression of r50073, allNotesOff() now directly sends to driver ↵Martin Kiewitz
again. If we send to queue, queue will never actually get processed and even if it was, the channels wouldnt be mapped anymore anyway svn-id: r50110
2010-06-20SCI: storing all manual midi commands now and actually sending them to ↵Martin Kiewitz
driver during onTimer() - fixes mt32 emulation crashing during lsl5 piano scene svn-id: r50073
2010-06-19SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, ↵Martin Kiewitz
uint32 cmd) svn-id: r50065
2010-06-19SCI: fixing last uninitialized variable issue in MidiParser_SCI (hopefully)Martin Kiewitz
svn-id: r50063
2010-06-19SCI: fixing another uninitialized variable usage issue - also limiting reset ↵Martin Kiewitz
velocity to used channels only, same is true for setting voice count svn-id: r50062
2010-06-19SCI: stopping scripts from sending to unused channels manually (fixes sq1vga)Martin Kiewitz
svn-id: r50060
2010-06-19SCI: reverting r50058 - we can't actually send to the channels at that time, ↵Martin Kiewitz
because we do not own the channels at that point svn-id: r50059
2010-06-19SCI: move setVolume down inside loadMusic so that it actually affects the ↵Martin Kiewitz
used channels svn-id: r50058
2010-06-19SCI: fixing uninitialized usage in MidiParser_SCIMartin Kiewitz
svn-id: r50057
2010-06-19SCI: make channel remapping stop using channel 0 for mt32 - fixes playback ↵Martin Kiewitz
accordingly (like lsl1 at the start) svn-id: r50056
2010-06-19SCI: free channels for channel remapping on stop and pause, instead of ↵Martin Kiewitz
dispose - fixes qfg3 demo going out of channels svn-id: r50054
2010-06-19SCI: AdLib: add dummy instruments when there are only 48 in the patchWalter van Niftrik
svn-id: r50035
2010-06-18Fixed show_instruments to ignore instruments in Sierra's special MIDI ↵Filippos Karapetis
channel 15, and updated the comment regarding PQ2 accordingly (it only has 2 incorrect instruments) svn-id: r50021
2010-06-18Added hints inside validate_arithmetic(), together with some code useful for ↵Filippos Karapetis
debugging. Some cleanup svn-id: r50020
2010-06-18Added an explanation about the invalid instruments used when using the Adlib ↵Filippos Karapetis
driver in PQ2 svn-id: r50019
2010-06-18SCI: implementing fading for sci1 only for used channels of the object, ↵Martin Kiewitz
fixes lsl1 music issues when going right at the start svn-id: r50018
2010-06-18SCI: change error() inside adlib driver ::setPatch() to warning() again, ↵Martin Kiewitz
fixing pq2 svn-id: r50017
2010-06-18Added information regarding a FIXMEFilippos Karapetis
svn-id: r50002
2010-06-18Changed an assert into a warning with a FIXME (happens in SQ1)Filippos Karapetis
svn-id: r49994
2010-06-18Added several unimplemented kDisplay subops, as well as a new sound command, ↵Filippos Karapetis
found in the demo of Longbow svn-id: r49983
2010-06-18SCI: (Temporary?) workaround for firmware bug in common USB-MIDI cables.Walter van Niftrik
svn-id: r49982
2010-06-17Strict mode: Changed several warnings due to logic bugs into errors. If an ↵Filippos Karapetis
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973
2010-06-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
2010-06-17Fixed wPlayAudio, and added some documentation on the 3 new kDoAudio subops. ↵Filippos Karapetis
Digital sounds in Pharkas work again svn-id: r49928
2010-06-17SCI: implemented channel muting for sci1, finally fixes lsl5 paino scene ↵Martin Kiewitz
with patti svn-id: r49926
2010-06-17SCI: decreasing channel given to us on cmdSendMidi by one, so mute command ↵Martin Kiewitz
now matches the right channel. sierra sci also decreased by one (their channel is 1-based) svn-id: r49924
2010-06-17SCI: fixes regressions of r49905 (thx to digitall) - first we now find out ↵Martin Kiewitz
what channels are used in sci0 as well, we are doing straight mapping for sci0 though - this fixes music in sci0 games, also fixing crash in sq1vga because of using null pMidiParser svn-id: r49922
2010-06-17Fix another valgrind warning, thanks to digitall for spotting.Matthew Hoops
svn-id: r49918
2010-06-16SCI: dont seek during init of music but on play, fixes assert when restoring ↵Martin Kiewitz
saves caused by r49905 - because channel remapping isn't done at that point svn-id: r49907
2010-06-16SCI: fix debug command "show_instruments", got broken by r49905 on purposeMartin Kiewitz
svn-id: r49906
2010-06-16SCI: implement channel remapping for SCI1Martin Kiewitz
svn-id: r49905
2010-06-15SCI: Saner and simpler conversion from msecs to ticksMax Horn
svn-id: r49846
2010-06-15Modify makeAIFFStream to match the other sound decoder factoriesMax Horn
svn-id: r49844
2010-06-15Cleanup of the savegame code:Filippos Karapetis
- Added a saveLoadWithSerializer() method to the reg_t class - Moved SegManager::reconstructClones() inside savegame.cpp - Moved SoundCommandParser::syncPlayList() and SoundCommandParser::reconstructPlayList() inside savegame.cpp svn-id: r49683
2010-06-14SCI: Added a version of allNotesOff() which sends messages only to the ↵Filippos Karapetis
channels used by the associated song instead of all channels svn-id: r49673
2010-06-12Added debug output to kDoAudio and some music commands. Also added a warning ↵Filippos Karapetis
when an audio stream can't be created. Finally, the debug level of the MIDI parser debug output has been raised to 4, as it's too verbose svn-id: r49605
2010-06-11- Added a new debug command, verify_midi, which can be used to check all the ↵Filippos Karapetis
songs of a game for unmapped instruments (still WIP and disabled) - Fixed a bug in the verify_scripts command (it was loading the script resource twice) svn-id: r49597
2010-06-10SCI: adding current delta to tick position when getting the setsignalloop ↵Martin Kiewitz
command - fixes sq3 music slight delay before actual looping svn-id: r49585
2010-06-10kSciAudioWPlay should not actually play the song, but 'pre-load' it. We fake ↵Matthew Hoops
the pre-loading with a flag that will return 0 if the song has been called with kSciAudioWPlay. Fixes the dream sequence sound in MUMG. svn-id: r49583