Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-28 | cleanup | Max Horn | |
svn-id: r46686 | |||
2009-12-28 | SCI: Make some code comply to our naming conventions | Max Horn | |
svn-id: r46685 | |||
2009-12-28 | SCI/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-28 | SCI/new music code: Implemented the "songlib" debug command | Filippos Karapetis | |
svn-id: r46670 | |||
2009-12-28 | SCI/new music code: Fixed a race condition when removing a sound from the ↵ | Filippos Karapetis | |
playlist svn-id: r46668 | |||
2009-12-28 | SCI/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-27 | SCI/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-27 | SCI/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-27 | SCI/newmusic: Fixed fading (fixes intro of castle of brain) | Martin Kiewitz | |
svn-id: r46651 | |||
2009-12-27 | Added some currently disabled code to be used when sound fading is done ↵ | Filippos Karapetis | |
(needs testing) svn-id: r46649 | |||
2009-12-27 | SCI/new music code: | Filippos Karapetis | |
- Implemented sound muting - Now saving/loading the master music volume svn-id: r46643 | |||
2009-12-27 | SCI/newmusic: moving commented assert | Martin Kiewitz | |
svn-id: r46632 | |||
2009-12-27 | SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵ | Martin Kiewitz | |
amiga freezing during pot exit) svn-id: r46631 | |||
2009-12-27 | SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵ | Martin Kiewitz | |
games (not yet playing) svn-id: r46629 | |||
2009-12-27 | SCI/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-27 | SCI/new music code: split the MidiParser class into a separate file | Filippos Karapetis | |
svn-id: r46611 | |||
2009-12-27 | The state selector is only available in SCI0 games | Filippos Karapetis | |
svn-id: r46610 | |||
2009-12-26 | SCI/newmusic: added state change to sample play as well | Martin Kiewitz | |
svn-id: r46607 | |||
2009-12-26 | SCI/newmusic: Update state when music is done playing (fixes sq3) | Martin Kiewitz | |
svn-id: r46606 | |||
2009-12-26 | Hopefully 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 private | Filippos 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-26 | Restored the mutexes in onTimer, and removed them from soundKill - fixes the ↵ | Filippos Karapetis | |
freeze in LSL5 intro svn-id: r46577 | |||
2009-12-26 | SCI/newmusic: Removed mutex from onTimer, fixes freeze in sci1 games | Martin Kiewitz | |
svn-id: r46575 | |||
2009-12-26 | Some more work on the new music code | Filippos Karapetis | |
svn-id: r46569 | |||
2009-12-25 | SCI/newmusic: added filter support for kq4early and adlib | Martin Kiewitz | |
svn-id: r46563 | |||
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-25 | Added mutexes in music functions | Filippos Karapetis | |
svn-id: r46556 | |||
2009-12-25 | Adjusted volume clipping | Filippos Karapetis | |
svn-id: r46555 | |||
2009-12-25 | Limit volume range to 0 - 255 | Filippos Karapetis | |
svn-id: r46554 | |||
2009-12-25 | Fixed variable capitalization | Filippos Karapetis | |
svn-id: r46552 | |||
2009-12-25 | SCI/newmusic: _signalSet, _signalToSet init, debug output added for signals | Martin Kiewitz | |
svn-id: r46548 | |||
2009-12-25 | SCI/newmusic: Filter was processing one byte too much | Martin Kiewitz | |
svn-id: r46544 | |||
2009-12-24 | SCI/newmusic: Set signal after waiting for delta and not immediately (fixes ↵ | Martin Kiewitz | |
iceman intro) svn-id: r46539 | |||
2009-12-24 | SCI/newmusic: support for 0xF8 delta in parseNextEvent, changes to channel ↵ | Martin Kiewitz | |
filtering (including temporary debug output) svn-id: r46538 | |||
2009-12-24 | Silence some gcc warnings. | Matthew Hoops | |
svn-id: r46535 | |||
2009-12-24 | SCI: new music code / signals now almost correctly triggered | Martin Kiewitz | |
svn-id: r46532 | |||
2009-12-24 | Obtain channel mask from music drivers. Also, added a warning in cmdReverb() ↵ | Filippos Karapetis | |
to indicate that it's a stub function svn-id: r46531 | |||
2009-12-24 | SCI: channels are now filtered for sci0 (fixes garbled music) | Martin Kiewitz | |
svn-id: r46525 | |||
2009-12-23 | SCI/new music code: Some fixes for SCI0 music, and removed a duplicate enum | Filippos Karapetis | |
svn-id: r46510 | |||
2009-12-23 | SCI: new music code / variable-names changed to make it more verbose | Martin Kiewitz | |
svn-id: r46502 | |||
2009-12-23 | SCI/new music code: Do not cache the signal selector, as it needs to be ↵ | Filippos Karapetis | |
always updated, so that animations can be synced properly by the game scripts. Fixes KQ6 svn-id: r46496 | |||
2009-12-22 | Disabled some currently unused code | Filippos Karapetis | |
svn-id: r46488 | |||
2009-12-22 | SCI/new music code: | Filippos Karapetis | |
- Reverted the code to use local copies of certain sound object selectors, like what was done before - Simplified and fixed the SCI1.1 digital sound effect playing code - Removed some duplicate code - Renamed some sound commands svn-id: r46487 | |||
2009-12-22 | Silenced some warnings to protect DrMcCoy from incoming Borg | Filippos Karapetis | |
svn-id: r46482 | |||
2009-12-22 | Started implementing SCI1.1 digital sound effect playing in the new music code | Filippos Karapetis | |
svn-id: r46479 | |||
2009-12-22 | The detectMusicDriver() function returns MD_-something, not MDT_-something. | Torbjörn Andersson | |
svn-id: r46478 | |||
2009-12-22 | Fixed looping sounds in the new sound code | Filippos Karapetis | |
svn-id: r46477 | |||
2009-12-22 | Some bugfixes to the new music code | Filippos Karapetis | |
svn-id: r46473 | |||
2009-12-21 | Some updates to the new music code | Filippos Karapetis | |
svn-id: r46467 | |||
2009-12-20 | Directly modify the sound objects, instead of modifying a local copy. Remove ↵ | Filippos Karapetis | |
duplicate code (which now resides in resource.*) svn-id: r46427 |