aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2010-09-03SCI: Rewrote the game name IDs of the Mt32MemoryTimbreMaps array to be like ↵Filippos Karapetis
the game IDs we use svn-id: r52504
2010-09-02SCI: Show a warning window regarding GM in some games.Filippos Karapetis
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
2010-09-01SCI: set master volume correctlyMartin Kiewitz
and merge it together with global volume, fixes bug #3053104) svn-id: r52484
2010-08-31SCI: renaming fb01-enable to "native_fb01"Martin Kiewitz
svn-id: r52471
2010-08-31SCI: forgot one rename of "enable_fb01"Martin Kiewitz
svn-id: r52470
2010-08-19SCI: Added checking for the existence of a GM track, to determine if device ↵Filippos Karapetis
ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1 svn-id: r52211
2010-08-18SCI: Only perform queuing of song signals for SCI0, where we handle the ↵Filippos Karapetis
updating of song queues ourselves. Newer games handle signaling on their own, thus we shouldn't interfere with this. Fixes bug #3045913 - "PHARKAS CD: Crash at the start menu" (a regression from rev #52043) svn-id: r52195
2010-08-18SCI MIDI: adding some asserts as well as proper initialization for _velocityMapFilippos Karapetis
svn-id: r52184
2010-08-18SCI: Changed a warning into a debugCFilippos Karapetis
svn-id: r52183
2010-08-16Merge trunk, from r51777 to r52105Alejandro Marzini
svn-id: r52108
2010-08-12SCI: queuing signal, if signal not passed to scriptsMartin Kiewitz
fixes laura bow 1 when knocking at the door in the attic, scripts wait for 0xb in that case, sound resource sets 0xb and then immediately ends. This resulted in the scripts only getting the termination signal, so they waited endlessly. (bug #3042981) svn-id: r52043
2010-08-11SCI: not pausing kDoSound samples anymoreMartin Kiewitz
but pausing looped samples only fixes "I'm melting" sample in sq1 death (bug #3038048) added detailed comment about this change svn-id: r51985
2010-08-06Merged from trunk, from r51495 to r51775Alejandro Marzini
svn-id: r51776
2010-08-04SCI: Turned a warning into a debugCFilippos Karapetis
svn-id: r51738
2010-08-04SCI: fix fadeout on workaroundsMartin Kiewitz
svn-id: r51728
2010-08-03SCI: not error()ing out on no free channelsMartin Kiewitz
instead we just ignore such channels. I'm not sure how sierra sci behaved in that case, they ignored channels as well, but maybe they removed them from earlier music svn-id: r51715
2010-08-02SCI: Silenced some sound related warnings. Added an empty function for ↵Filippos Karapetis
kDoSound(Restore), called when restoring games svn-id: r51661
2010-08-01SCI: kDoSound(mute) behaviour changeMartin Kiewitz
svn-id: r51589
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-29SCI: midi hold behaviour fixedMartin Kiewitz
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392) svn-id: r51482
2010-07-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-27SCI: Fix PCjr soundMatthew Hoops
svn-id: r51369
2010-07-26SOUND: Move the Mac snd decoder from SCI to /soundMatthew Hoops
For use with Kyra1 Mac instrument samples. T7G Mac and Loom Mac also use this format for their custom instrument samples. svn-id: r51327
2010-07-22SCI: Cleanup leftovers from the FreeSCI sound codeFilippos Karapetis
svn-id: r51178
2010-07-20SCI: fix regression of r50463Martin Kiewitz
also check delta, because _play_tick does not include delta at that point - fixing sq1 ship takeoff svn-id: r51067
2010-07-20SCI: renaming kDoSound(resume) to resumeAfterRestoreMartin Kiewitz
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all svn-id: r51058
2010-07-19SCI: disabling kDoSound(StopAll)Martin Kiewitz
this call can't be right, gets called in kq1 several times and would stop background effects svn-id: r51039
2010-07-19SCI: update sample ticker when pausedMartin Kiewitz
little adjustment of r51017 svn-id: r51018
2010-07-19SCI: change kDoSound(updateCues) for samplesMartin Kiewitz
only set signal when sample was/is playing, fixes qfg2 genie intro svn-id: r51017
2010-07-18SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.Matthew Hoops
svn-id: r51006
2010-07-18SCI: Oops, silence gcc warning.Matthew Hoops
svn-id: r51002
2010-07-18SCI: Add initial support for SCI0 Mac and SCI1 Amiga/Mac sound.Matthew Hoops
SCI1 sound is pretty much done, but envelope support is still not 100% complete. SCI0 Mac sound is not complete, but sounds "ok" for now. Much thanks to Walter, who did a ton of work on this. svn-id: r51001
2010-07-18SCI: change to r50995 - better stop fading when stop is calledMartin Kiewitz
svn-id: r50996
2010-07-18SCI: if game starts fading, stops music and later starts music again don't ↵Martin Kiewitz
resume fading - fixes lsl6 music when going in from swimming pool svn-id: r50995
2010-07-18SCI: adding obj in kDoSound debug outputMartin Kiewitz
svn-id: r50994
2010-07-17Remove extra ";" in class declarations.Johannes Schickel
svn-id: r50955
2010-07-16SCI: adding signatures for 4-parameter variant of kDoSound(sendMidi), needs ↵Martin Kiewitz
to get figured out how this works - fixes signature mismatch in lsl1 svn-id: r50937
2010-07-14SCI: adding sound version 2.1, to properly add sci2.1 signature for ↵Martin Kiewitz
kDoSound(play) svn-id: r50878
2010-07-13SCI: erroring out on unsupported soundversion in midiparserMartin Kiewitz
svn-id: r50849
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-11SCI: changing signature for kDoSound(resume) it seems its called right after ↵Martin Kiewitz
restoring to resume music - which we do already automatically svn-id: r50800
2010-07-10SCI: updated debug output from kDoSoundMartin Kiewitz
svn-id: r50781
2010-07-09SCI: fixing regression of r50414 - we set volume to standard levels inside ↵Martin Kiewitz
initCommands since then, so if we set the actual needed volume before calling that it will get ignored - fixes lsl1demo svn-id: r50766
2010-07-09SCI: move comments and change selector for sci0 sound in kDoSoundPause, also ↵Martin Kiewitz
allow pausing everything even for sci1early (qfg2 is using it) svn-id: r50765
2010-07-09SCI: actually all sound-sci0 games used a completely different kDoSoundPause ↵Martin Kiewitz
logic, implement it - fixes all sorts of games not pausing when going to restore menu and more svn-id: r50760
2010-07-09SCI: added currently commented-out pauseSound implementation for some sci0 ↵Martin Kiewitz
games, allowing integer for that subfunction svn-id: r50759
2010-07-09SCI: removing unneeded mutex locking inside sci0 update cuesMartin Kiewitz
svn-id: r50758
2010-07-09SCI: fixing regression of r50755 - fixing kDoSoundSendMidiMartin Kiewitz
svn-id: r50757
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-01SCI: Removed duplicate warning for missing audio samplesFilippos Karapetis
svn-id: r50560