aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
AgeCommit message (Collapse)Author
2005-03-15Fix Bug #1163202 (music never stops). Some code cleanup.Jochen Hoenicke
svn-id: r17155
2005-03-15Weakened the low pass filter (thanks to tbcarey who compared it with a real ↵Jochen Hoenicke
PCjr) svn-id: r17154
2005-03-15WhitespaceTorbjörn Andersson
svn-id: r17149
2005-01-28Use class Mutex instead of MutexRefMax Horn
svn-id: r16679
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-28Trying to cleanup the volume control mess inside the SCUMM engine: renamed ↵Max Horn
MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly svn-id: r15944
2004-11-27Use modern form of setupPremixMax Horn
svn-id: r15915
2004-11-27Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing ↵Max Horn
some very specialised methods svn-id: r15914
2004-10-11cleanup / updated some commentsMax Horn
svn-id: r15524
2004-03-05Clear all channel variables in clear_channelJochen Hoenicke
svn-id: r13203
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-01-08unify _vm / _scumm usageMax Horn
svn-id: r12262
2004-01-08add newlines to end of filesOliver Kiehl
svn-id: r12249
2004-01-08No more neededChris Apers
svn-id: r12245
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-18PalmOS sound API cannot access globals or functions out of the first segmentChris Apers
svn-id: r11740
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11217
2003-10-09Moved PalmOS initializations out of namespaces.Chris Apers
svn-id: r10703
2003-10-05cleanupMax Horn
svn-id: r10620
2003-10-03cleanup / doxygenificationMax Horn
svn-id: r10578
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-30Generated signed sound samples (cf. feature request #812913).Jochen Hoenicke
svn-id: r10510
2003-09-19cleanup; some more fixed need afnow that the premix proc is expected to ↵Max Horn
generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2) svn-id: r10312
2003-09-18unify legal headers a bit hereMax Horn
svn-id: r10305
2003-09-18just generate the data as stereo, instead of munging the buffer at the endMax Horn
svn-id: r10298
2003-09-18changed & documented the premixer semanticsMax Horn
svn-id: r10294
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-13Add a new hull curve entry needed by Indy3. This fixes bug #770698.Jochen Hoenicke
svn-id: r10230
2003-09-08Reduce PalmOS data segementChris Apers
svn-id: r10083
2003-09-07cleanup/refactoringMax Horn
svn-id: r10070
2003-09-07some cleanup; clarified isSoundInUse semantics and the difference between ↵Max Horn
IMuse::get_sound_active and IMuse::getSoundStatus; added lots of const qualifiers to IMuse; rewrote IMuseInternal::getSoundStatus (hopefully not breaking it); added MusicEngine::getSoundStatus svn-id: r10069
2003-09-07added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 ↵Max Horn
(initial stab, more work to follow) svn-id: r10066
2003-09-07added an assertMax Horn
svn-id: r10054
2003-08-15A different fix for Bugs item #788531.Jochen Hoenicke
Allocate a 4th channel and map all accesses to out of bounds channels to this channel. svn-id: r9705
2003-08-15Fix for Bug [788531] Indy3VGA - Access violation with PC Speaker "travel" musicJamieson Christian
Checked for OOB channel clear command. The "travel" music in question seems to try to clear channel 4 when there are only channels 0-3. Now we check and bail if OOB. Perhaps this isn't quite the correct thing to do. Would channel 4 be significant, as in perhaps "clear ALL channels"? Hoenicke should answer this one. svn-id: r9700
2003-08-14Don't create imuse for v1 and v2 games (otherwise getSoundStatus doesn't work).Jochen Hoenicke
PCjr support for V1 games, bug fix in speaker support. set_pcjr is now called by Player_V2 constructor according to midi driver. Renaming of member variables to begin with an underscore. svn-id: r9692
2003-08-13More monkeyvga credits fix for -epcspk/pcjrJamieson Christian
svn-id: r9666
2003-08-13Fix monkeyvga hang when using -epcspk/pcjrJamieson Christian
svn-id: r9665
2003-08-12Fixed the freqency of one note. This bug is also in the original LucasJochen Hoenicke
Arts Games... svn-id: r9648
2003-08-05added support for output sample rates > 32767 (still limited to a max of ↵Max Horn
65535, but all we care about are 44100 and 48000 anyway) svn-id: r9510
2003-06-27cleanupMax Horn
svn-id: r8662
2003-06-15cleanupMax Horn
svn-id: r8494
2003-06-07This should be the right check for header_len.Jochen Hoenicke
I first thought that old games did not have GF_SMALL_HEADER. svn-id: r8379
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06I have no idea if this is right, but at least sound seems to be workingTorbjörn Andersson
again in Maniac Mansion, Zak and EGA Loom. svn-id: r8365
2003-06-06Added a fix for music_timer in V3 games.Jochen Hoenicke
svn-id: r8361
2003-06-05Synchronize channels playing the same frequency. This preventsJochen Hoenicke
interference effects. svn-id: r8318