aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
AgeCommit message (Collapse)Author
2003-12-22Moved bundle music code from class Sound to IMuseDigital (seems more ↵Max Horn
natural; and allows for various cleanup) svn-id: r11846
2003-12-21cleanupMax Horn
svn-id: r11817
2003-12-21added convenience SoundMixer::playVorbis variant which calls through to ↵Max Horn
playSfxSound_Vorbis; made scumm/queen engines use it svn-id: r11812
2003-12-21Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of ↵Max Horn
this by playInputStream(), this cleanup eases this a bit) svn-id: r11803
2003-12-21Incorrect use of stopChannel (must be stopHandle); replaced single remaining ↵Max Horn
use of stopChannel by a hack (note: the code in question is a hack in itself already) svn-id: r11799
2003-12-18cleanupMax Horn
svn-id: r11729
2003-12-13* don't call a variable 'bit' which stores a byte'Max Horn
* fix off-by-one loop length * loopStart seems to be specified in samples, not bytes, fixing that (but I don't know of any place where I could test it...) * Indy3Towns uses sound type 255, not 1, for Euphony music, it seems empirically * print a warning if we encounter an unknown/unsupported sound sub-type svn-id: r11618
2003-12-10Removed #include "midiparser.h". It was only there for the early Humongeous ↵Jamieson Christian
XMIDI hacks. svn-id: r11557
2003-11-29added API to query CD playback status; renamed AudioCDManager methodsMax Horn
svn-id: r11422
2003-11-29moved Audio CD (emulation) code from scumm/sound.cpp to sound/, so that it ↵Max Horn
may be reused by other engines in the future svn-id: r11421
2003-11-18Alter old demo checkTravis Howell
Stop crash on exit with comi demo svn-id: r11341
2003-11-18COMI demos only have 3 fonts files.Travis Howell
Don't do CD checks for COMI demos svn-id: r11336
2003-11-17added voice support for mac dig demoPaweł Kołodziejski
svn-id: r11330
2003-11-17added voice support in dig demoPaweł Kołodziejski
svn-id: r11329
2003-11-13*** empty log message ***Travis Howell
svn-id: r11281
2003-11-12changed getting position of bundle song to msPaweł Kołodziejski
svn-id: r11265
2003-11-11made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced ↵Max Horn
Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup svn-id: r11257
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11217
2003-10-17renamed some Timer methodsMax Horn
svn-id: r10868
2003-10-17proper fix for COMI timer issue: don't let a Timer remove itselfMax Horn
svn-id: r10867
2003-10-12some more target<->game cleanupMax Horn
svn-id: r10769
2003-10-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687
2003-10-07Remove comment, which is no longer needed too.Travis Howell
svn-id: r10655
2003-10-07Ooops, used wrong one.Travis Howell
svn-id: r10653
2003-10-07FM TOWNS sfx fix, correct sample rate.Travis Howell
svn-id: r10652
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-10-01A few FmTowns games don't fall under the GF_FMTOWNS flag.Jamieson Christian
Must not filter them out in stopSound(). svn-id: r10527
2003-09-30Support for FMTowns versions of MI1/2,Jamieson Christian
submitted by Hibernatus. svn-id: r10511
2003-09-30This may be an issue in legit gameplay, but GF_FMTOWNSJamieson Christian
games do use _musicEngine for the FM synth stuff, so don't exclude it in stopSound(). (Is this assumption made elsewhere also?) svn-id: r10506
2003-09-27some minor cleanupMax Horn
svn-id: r10437
2003-09-24More Amiga V2/V3 sound updates from _Q_:Travis Howell
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a 2. Some changes to player_v3a as a result of #1, including reduced music volume 3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h svn-id: r10392
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-16Partial fix for Bug [636985] ZAK256: No kazoo tuneJamieson Christian
Implemented a parser for Euphony music. No FM instrument support yet, as the FM chip used by FM Towns is not being emulated yet. In the meantime, a stock FM-emulated GM instrument is being used instead. This at least makes the Zak Towns kazoo tune and the Loom Towns distaff audible. Emulation of the FM Towns synth chip, or suitable emulation using the OPL2 synth, is still under investigation. svn-id: r10265
2003-09-15cleanupMax Horn
svn-id: r10260
2003-09-13Revert change, was not needed after all.Travis Howell
svn-id: r10228
2003-09-13Another fm towns sound fix from HibernatusTravis Howell
svn-id: r10217
2003-09-13Another fm towns sound fix from HibernatusTravis Howell
svn-id: r10209
2003-09-10experimental fix for bug #802396 (LOOMCD: Sound lock up); it turns out this ↵Max Horn
is a very long standing bug (pre-0.4.1 at the least). This fix may cause regressions in games using CD tracks, beware svn-id: r10163
2003-09-10added refCon parameter to timer classMax Horn
svn-id: r10156
2003-09-09another fix for bug #802396 (LOOMCD: Sound often causes lock up)Max Horn
svn-id: r10142
2003-09-08make even more use of Scumm::_musicEngine; added MusicEngine::setMasterVolumeMax Horn
svn-id: r10097
2003-09-08fix for bug #802396 (LOOMCD: Sound often causes lock up)Max Horn
svn-id: r10085
2003-09-08fix warningPaweł Kołodziejski
svn-id: r10081
2003-09-07properly decode SBL resources by scanning the VOC header in them; added a ↵Max Horn
guess at how SEGA SBLs work (untested, might be completely wrong) svn-id: r10074
2003-09-07make use of voc.h; some cleanupMax Horn
svn-id: r10073
2003-09-07removed the seperate 'MP3' CD methods in class Sound (besides being ↵Max Horn
misnamed, merging them into their parent functions actually seems clearer to me, reading wise) svn-id: r10071
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-07make some first use of Scumm::_musicEngine; cleanup; also some changes which ↵Max Horn
*might* cause some breakage, but if they don't, we can build on them to simplify Sound::playSound a little (mainly by removing lots of 'return' statements) svn-id: r10068