aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
AgeCommit message (Collapse)Author
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
2009-12-26Some more work on the new music codeFilippos Karapetis
svn-id: r46569
2009-12-25SCI: implemented command 0x80 (stopnote) for amiga music driverMartin Kiewitz
svn-id: r46566
2009-12-25Silence a bunch of gcc warnings (and Merry Christmas, if you celebrate).Matthew Hoops
svn-id: r46565
2009-12-25SCI/newmusic: Change to channel filtering for sci0early to reflect actual ↵Martin Kiewitz
sierra driver behaviour svn-id: r46564
2009-12-25SCI/newmusic: added filter support for kq4early and adlibMartin Kiewitz
svn-id: r46563
2009-12-25Remove extra debug output which sneaked in.Eugene Sandulenko
svn-id: r46562
2009-12-25- Introduced a new version in the sound version detection routine, as SCI0 ↵Filippos Karapetis
early games had different sound than SCI0 late ones - Changed sound-related debug output from printf's into debugC calls svn-id: r46560
2009-12-25SCI/newmusic: Adlib driver / added comment that sierra adlib driver did not ↵Martin Kiewitz
support aftertouch svn-id: r46559
2009-12-25Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch)Filippos Karapetis
svn-id: r46558
2009-12-25Ignore internal SysEx events in the Adlib playerFilippos Karapetis
svn-id: r46557
2009-12-25Added mutexes in music functionsFilippos Karapetis
svn-id: r46556
2009-12-25Adjusted volume clippingFilippos Karapetis
svn-id: r46555
2009-12-25Limit volume range to 0 - 255Filippos Karapetis
svn-id: r46554
2009-12-25SCI/newmusic: find slot again after destroying it fixes kq6cd, lb2cd, added ↵Martin Kiewitz
debug output svn-id: r46553
2009-12-25Fixed variable capitalizationFilippos Karapetis
svn-id: r46552
2009-12-25Fix compilation.Johannes Schickel
svn-id: r46551
2009-12-25SCI/new music code: Some initial code for saving/loading the sound stateFilippos Karapetis
svn-id: r46549
2009-12-25SCI/newmusic: _signalSet, _signalToSet init, debug output added for signalsMartin Kiewitz
svn-id: r46548