aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
AgeCommit message (Collapse)Author
2010-09-06SCI: extending comment for prev. commitMartin Kiewitz
svn-id: r52606
2010-09-06SCI: dont play audio on kDoSound in hoyle4Martin Kiewitz
hoyle4 has garbled audio data svn-id: r52605
2010-09-06SCI: fix regression of r52569Martin Kiewitz
fade in/out of samples svn-id: r52604
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-18SCI: Changed a warning into a debugCFilippos Karapetis
svn-id: r52183
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-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-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-22SCI: Cleanup leftovers from the FreeSCI sound codeFilippos Karapetis
svn-id: r51178
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: 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-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-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: 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-06-30SCI: Removed the FreeSCI music codeFilippos Karapetis
svn-id: r50532
2010-06-29SCI: Rewrap yet more commentsMax Horn
svn-id: r50505
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-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-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
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-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-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-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-06-08SCI: if song isn't playing, set signal and don't set fadeout/fadein ↵Martin Kiewitz
variables - fixes lsl3 music lost after entering/exiting tv room (bug #3007406) svn-id: r49500
2010-05-30CleanupFilippos Karapetis
svn-id: r49333
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-28SCI: read out vol selector on initSound/playSound for sci1early ↵Martin Kiewitz
(soundversion) as well - fixes lsl1demo svn-id: r49285
2010-05-27SCI: fixing resuming samples - fixes hang when ship is flying away happening ↵Martin Kiewitz
when you entered menu during that sequence svn-id: r49261
2010-05-23SCI: reenabling "stopAllSounds" code disabled in r49101 - isn't called ↵Martin Kiewitz
anymore since priority is honored so it may have been right after all svn-id: r49158
2010-05-23SCI: fix regression of r49156 - if multiple songs are stored for ↵Martin Kiewitz
resume-play, use the last one - fixes iceman wrong music played after going through door in room 14 - still not sure about this, added fixme svn-id: r49157
2010-05-19SCI: sound code now queues up music in sci0, wip-code: not reacting on ↵Martin Kiewitz
priority yet - fixes iceman room 14 svn-id: r49109
2010-05-19SCI: updated comment on kDoSound(12)Martin Kiewitz
svn-id: r49108
2010-05-19SCI: removed cmdStopAllSounds(), can't be right - added FIXME - fixes iceman ↵Martin Kiewitz
room 14 music stopping within 1-2 seconds svn-id: r49101
2010-05-19SCI: cleanup soundcode - number renamed to resourceId, prio renamed to priorityMartin Kiewitz
svn-id: r49098
2010-05-18SCI: set signal on fadeOut and also set signal when fade is requested but ↵Martin Kiewitz
sound is not playing (& show warning in that case) - fixes iceman hang after fireworks in room 14 svn-id: r49087