Age | Commit message (Collapse) | Author |
|
before freeing it, which isn't necessary.
svn-id: r46941
|
|
- sounds are no longer stopped in cmdUpdateCues if their signal is set
- cmdSetSoundVolume no longer throws a warning if it can't find the associated sound (in some games, it's called before the actual sound is loaded)
- removed unused parameters to the SciMusic() class and to MusicEntry::onTimer()
- removed a hack to get the sound loop selector
svn-id: r46923
|
|
svn-id: r46896
|
|
svn-id: r46891
|
|
finished. Fixes the music in GK1 (demo and full)
svn-id: r46887
|
|
wjp and waltervn
svn-id: r46886
|
|
normally in LSL5
svn-id: r46880
|
|
sci1late (soundversion) only
svn-id: r46875
|
|
svn-id: r46869
|
|
loop selector for sound fx
svn-id: r46856
|
|
svn-id: r46854
|
|
because setting it in updateCues() wont work right. We are processing fading effectively in there any way, added TODO for working approach
svn-id: r46853
|
|
mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume
svn-id: r46850
|
|
respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others
svn-id: r46843
|
|
cmdVolume is supposed to set music and sfx volume only - this whole fixes volume issues in lb2cd and others
svn-id: r46842
|
|
svn-id: r46840
|
|
MIDI worker thread. Some cleanup
svn-id: r46834
|
|
is now byte again
svn-id: r46829
|
|
yet), fixes lsl1 doll inflation endless loop
svn-id: r46820
|
|
- Resolved a deadlock with the mixer, and added appropriate mutexes (a result of the fact that SCI mixes MIDI and digital audio in the same list)
- Fixed sound playing when loading games, by properly resetting the MIDI driver
- Reverted savegame version to 14 - the changes in versions 15 and 16 don't have any effect on the currently enabled old music code, and the new music code is disabled by default, and is still prone to changes
- Now saving/loading signal, loop and hold for each sound, as well as reverb
- Added stub code for setting reverb and channel hold
- The signal, loop and hold values of each song are cached, like in SSCI and like what happens in Greg's SCI implementation. This allows a clear separation of the engine code from the rest of the engine. Reverted commits 46792 and 46797
- Removed duplicate song list accessing code
- Song cues are now updated in kAnimate for SCI0, like the old music code does, to compensate for the fact that SCI0 didn't poll for music changes via cmdUpdateCues, like what SCI01 and newer do
- Cleanup
svn-id: r46812
|
|
svn-id: r46798
|
|
svn-id: r46793
|
|
cached, but read directly from the sound object
svn-id: r46792
|
|
svn-id: r46730
|
|
svn-id: r46707
|
|
svn-id: r46706
|
|
no longer paused
svn-id: r46700
|
|
svn-id: r46693
|
|
svn-id: r46691
|
|
then (fixes castle of dr. brain during intro)
svn-id: r46690
|
|
svn-id: r46689
|
|
svn-id: r46687
|
|
svn-id: r46686
|
|
svn-id: r46685
|
|
- 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
|
|
svn-id: r46670
|
|
playlist
svn-id: r46668
|
|
signal when fading is done isn't necessary
svn-id: r46666
|
|
- 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
|
|
otherwise decrease mastervolume by 1 on every access resulting in no sound after a while :) (fixes lb2, sq4cd and others)
svn-id: r46654
|
|
svn-id: r46651
|
|
(needs testing)
svn-id: r46649
|
|
- Implemented sound muting
- Now saving/loading the master music volume
svn-id: r46643
|
|
svn-id: r46632
|
|
amiga freezing during pot exit)
svn-id: r46631
|
|
games (not yet playing)
svn-id: r46629
|
|
- 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
|
|
svn-id: r46611
|
|
svn-id: r46610
|
|
svn-id: r46607
|