aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
AgeCommit message (Collapse)Author
2009-12-30SCI/newmusic: fix loop logicMartin Kiewitz
svn-id: r46774
2009-12-30SCI/newmusic: update loop selector when track is finished (fixes hq1 ending, ↵Martin Kiewitz
letting one save the character data for qfg2) svn-id: r46769
2009-12-30SCI/new sound code:Filippos Karapetis
- call cmdDisposeHandle() instead of soundKill when a track is being replaced - Added information about cmdReverb svn-id: r46766
2009-12-29SCI/newmusic: fixed fading (fixes gk1 demo, park area)Martin Kiewitz
svn-id: r46730
2009-12-29SCI/newmusic: Removed playlist-feature from cmdResumeHandle cause that is ↵Martin Kiewitz
sci0 only svn-id: r46714
2009-12-29SCI/newmusic: dont do pause/resume on the whole playlist prior sci1late ↵Martin Kiewitz
(soundversion) svn-id: r46713
2009-12-29SCI/newmusic: changed pauseCounter again ;)Martin Kiewitz
svn-id: r46707
2009-12-29SCI/newmusic: changed pausecounter behaviour within resumeMartin Kiewitz
svn-id: r46706
2009-12-29Reverted rev #46647 - the title music in Codename: Iceman works correctly againFilippos Karapetis
svn-id: r46701
2009-12-29SCI/new music code: Fixed loading of saved games. Also, stopped sounds are ↵Filippos Karapetis
no longer paused svn-id: r46700
2009-12-29Better checking for the cmdMuteSound and cmdVolume special casesFilippos Karapetis
svn-id: r46699
2009-12-29SCI/new music code: cmdPauseHandle/cmdResumeHandle now work for SCI0 gamesFilippos Karapetis
svn-id: r46697
2009-12-28SCI/newmusic: Added pausecounter cause sierra sci also does thisMartin Kiewitz
svn-id: r46693
2009-12-28SCI/new music code: Implemented cmdSendMidi, and removed access to _argc ↵Filippos Karapetis
from sound commands svn-id: r46692
2009-12-28SCI/newmusic: Added comment about weird sierra sci behaviourMartin Kiewitz
svn-id: r46691
2009-12-28SCI/newmusic: Accept object 0:0 in cmdPauseHandle, pause the whole playlist ↵Martin Kiewitz
then (fixes castle of dr. brain during intro) svn-id: r46690
2009-12-28SCI: Further objectify MusicEntryMax Horn
svn-id: r46689
2009-12-28SCI: Start objectifying MusicEntryMax Horn
svn-id: r46687
2009-12-28cleanupMax Horn
svn-id: r46686
2009-12-28SCI: Make some code comply to our naming conventionsMax Horn
svn-id: r46685
2009-12-28SCI/new sound code:Filippos Karapetis
- Made the SciMusic class private, and added wrapper functions for invoking specific methods of SciMusic from outside the SoundCommandParser class - Many SCI games keep creating and destroying sound effects constantly (i.e. many times per second). Therefore, another scheme has been devised, which replaces the mutex that was in place. Whenever a sound command is run which operates on a specific object in the play list, we disallow onTimer() from kicking in. This isn't ideal, but it does stop random deadlocks because of locked mutexes without any noticeable side effects svn-id: r46681
2009-12-28SCI/new music code: Added a workaround for a music-related game bug in ↵Filippos Karapetis
Castle of Dr. Brain svn-id: r46678
2009-12-28Fixed music pausingFilippos Karapetis
svn-id: r46677
2009-12-28SCI/new music code: Implemented the "songlib" debug commandFilippos Karapetis
svn-id: r46670
2009-12-28SCI/new music code: Hanging notes now stop when a sound is paused/stoppedFilippos Karapetis
svn-id: r46669
2009-12-28SCI/new music code: Fixed a race condition when removing a sound from the ↵Filippos Karapetis
playlist svn-id: r46668
2009-12-28SCI/new music code: Fixed music fading in SCI2 - seems like setting the ↵Filippos Karapetis
signal when fading is done isn't necessary svn-id: r46666
2009-12-27SCI/new music code:Filippos Karapetis
- Switched to Common::StackLock for mutexes - Renamed Music::stopAll() -> Music::clearPlayList() - Implemented a better Music::stopAll method, which stops all sounds with proper signals, instead of destroying them - Renamed the SCI0 command cmdGetPlayNext -> cmdStopAllSounds and implemented it svn-id: r46665
2009-12-27SCI/newmusic: fixed warningMartin Kiewitz
svn-id: r46663
2009-12-27SCI/newmusic: Accept WAVE files as audio resources (needed for gk1 title ↵Martin Kiewitz
music) - requires additional resourcemanager support (or rename sfx\5.wav to 5.aud and add 8Dh 00h header) svn-id: r46658
2009-12-27SCI/newmusic: fix getting of mastervolume. cause of rounding we will ↵Martin Kiewitz
otherwise decrease mastervolume by 1 on every access resulting in no sound after a while :) (fixes lb2, sq4cd and others) svn-id: r46654
2009-12-27Fixed priority bugFilippos Karapetis
svn-id: r46652
2009-12-27SCI/newmusic: Fixed fading (fixes intro of castle of brain)Martin Kiewitz
svn-id: r46651
2009-12-27Removed _hasNodePtrFilippos Karapetis
svn-id: r46650
2009-12-27Added some currently disabled code to be used when sound fading is done ↵Filippos Karapetis
(needs testing) svn-id: r46649
2009-12-27cmdGetPolyphony always returns true in SCI0, according to specsFilippos Karapetis
svn-id: r46647
2009-12-27SCI/new music code:Filippos Karapetis
- Implemented sound muting - Now saving/loading the master music volume svn-id: r46643
2009-12-27SCI/newmusic: moving commented assertMartin Kiewitz
svn-id: r46632
2009-12-27SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵Martin Kiewitz
amiga freezing during pot exit) svn-id: r46631
2009-12-27Really fixed compilationFilippos Karapetis
svn-id: r46630
2009-12-27SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵Martin Kiewitz
games (not yet playing) svn-id: r46629
2009-12-27SCI/new music code: Filippos Karapetis
- Removed a lot of accessors to the music list, and protected the 2 which are used now with mutexes - Rewrote the music list save/load code to be methods of the SciMusic class svn-id: r46623
2009-12-27SCI/new music code: split the MidiParser class into a separate fileFilippos Karapetis
svn-id: r46611
2009-12-27The state selector is only available in SCI0 gamesFilippos Karapetis
svn-id: r46610
2009-12-26SCI/newmusic: added state change to sample play as wellMartin Kiewitz
svn-id: r46607
2009-12-26SCI/newmusic: Update state when music is done playing (fixes sq3)Martin Kiewitz
svn-id: r46606
2009-12-26Hopefully fixed the freezes/deadlocks in the new music code (e.g. in LSL5 ↵Filippos Karapetis
and Castle of Dr. Brain) svn-id: r46579
2009-12-26- Made the music playlist privateFilippos Karapetis
- Removed some leaks - Fixed the destruction of the music playlist - Made mutexes more sane - Removed some dead code - Cleanup svn-id: r46578
2009-12-26Restored the mutexes in onTimer, and removed them from soundKill - fixes the ↵Filippos Karapetis
freeze in LSL5 intro svn-id: r46577
2009-12-26SCI/newmusic: Removed mutex from onTimer, fixes freeze in sci1 gamesMartin Kiewitz
svn-id: r46575