aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
AgeCommit message (Collapse)Author
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
2010-05-11SCI: remove unneeded _mutex lock to fix deadlock issueMartin Kiewitz
svn-id: r49006
2010-05-10SCI: set signal to SIGNAL_OFFSET, when a music slot is played that doesn't ↵Martin Kiewitz
contain supported data - fixes lsl5 mud wrestling "regression" in new music/sound code (worked before with old music/sound engine) svn-id: r49000
2010-05-03SCI: set signal in SCI0/SCI01 games, when samples have been played only. ↵Martin Kiewitz
fixes sq3 guys from andromeda, but also doesn't screw up music in sq3new/kq1 - added comments about this issue svn-id: r48918
2010-05-03SCI: reverting r48805 - caused regression in sq3new/kq1Martin Kiewitz
svn-id: r48915
2010-04-26SCI: changing comment slightly about setting signal selector in stopSound ↵Martin Kiewitz
for SCI0 svn-id: r48806
2010-04-26SCI: also set signal selector when stopping sounds for SCI0 as well - fixes ↵Martin Kiewitz
sq3 freeing 2 guys from andromeda endless loop svn-id: r48805
2010-02-15SCI: Remove sound/audio.h include from engine/state.hMax Horn
svn-id: r48063
2010-02-13SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabledMax Horn
svn-id: r48051
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-01-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-29Reverting incorrect rev. 47675. The actual problem was that SCI0 doesn't ↵Filippos Karapetis
clear a song's handle when stopping it, but when disposing it. Hopefully, a lot of the SCI0 sound oddities are fixed now... svn-id: r47678
2010-01-29WordingFilippos Karapetis
svn-id: r47676
2010-01-29Don't modify the objects of sound slots that are already stopped, as the ↵Filippos Karapetis
associated objects could have been disposed. Fixes odd crashes in SQ3 svn-id: r47675
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-27Fixed the demo version of Longbow - speech was not played at all with the ↵Filippos Karapetis
new sound code svn-id: r47610
2010-01-26Fixed loading of old saved gamesFilippos Karapetis
svn-id: r47576
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Added song manipulation debug commands: songinfo, startsound, togglesound ↵Filippos Karapetis
and stopallsounds. is_sample now works with the new sound code svn-id: r47475
2010-01-21- Fixed pausing of all sounds in the playlistFilippos Karapetis
- Sounds are now paused correctly when opening/closing the debug console - Some cleanup svn-id: r47422
2010-01-19- Removed the resetDriver() hack. The reason why notes stopped being played ↵Filippos Karapetis
sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn) - Hooked setReverb() to actually set music reverb svn-id: r47392
2010-01-18SCI: dont set dataInc selector inside updateCues when dataInc is not availableMartin Kiewitz
svn-id: r47362
2010-01-13SCI: DoSound: when setting volume return previous value, fixes KQ6CD intro.Walter van Niftrik
svn-id: r47292
2010-01-12Fix some memory leaks caused by never deleting the objects inside ↵Johannes Schickel
SoundCommandParser::_soundCommands. svn-id: r47274
2010-01-12SCI: deleting _music in destructorMartin Kiewitz
svn-id: r47268
2010-01-12SCI: Handle master volume inside music driversWalter van Niftrik
svn-id: r47261
2010-01-11New music code: Implemented sound stopping after fading, and disabled MIDI ↵Filippos Karapetis
sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1 svn-id: r47252
2010-01-08SCI: fixing sq3 again (state selector wasnt updated anymore)Martin Kiewitz
svn-id: r47174