aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2010-06-26SCI: set _driver to 0 in MidiParser_SCI destructor to stop the MidiParser ↵Martin Kiewitz
destructor call allNotesOff() which would affect all channels all the time - fixes sq1 ship flying away sound getting stopped when ladder falls down svn-id: r50313
2010-06-26SCI: removing fixme (issue got already solved)Martin Kiewitz
svn-id: r50311
2010-06-26SCI: dont call midiparser->stop() if paused sound gets stoppedMartin Kiewitz
svn-id: r50310
2010-06-25SCI: set MDT_PREFER_GM instead od MDT_PREFER_MT32Florian Kagerer
svn-id: r50289
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