aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
AgeCommit message (Collapse)Author
2003-10-25whateverJoost Peters
svn-id: r10959
2003-10-24added extra flag to mixer so we don't use free() on new'd pointersJoost Peters
svn-id: r10958
2003-10-04use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵Max Horn
gets reset); remove obsolete 256 color blending code svn-id: r10592
2003-09-18changed & documented the premixer semanticsMax Horn
svn-id: r10294
2003-09-16Don't call the premix function when the mixer is paused. (This isTorbjörn Andersson
particularly noticeable in games with PC speaker emulation, but I could hear faint noises in AdLib music as well.) svn-id: r10262
2003-09-10moved declaration of error/warning/debug from engine.h to util.h; added voc.cppMax Horn
svn-id: r10150
2003-09-06removed pauseMixer method from mixer, and renamed stop to stopChannelMax Horn
svn-id: r10042
2003-09-05optimized channel volume/pan handlingMax Horn
svn-id: r10028
2003-09-05moved the sound ID param in playRaw before volume/panMax Horn
svn-id: r10023
2003-09-05oopsMax Horn
svn-id: r10021
2003-09-05cleaned up sound/mixer.h a bit; renamed some mixer methods for consistencyMax Horn
svn-id: r10018
2003-09-05fixes for uninitialized pan and volumePaweł Kołodziejski
svn-id: r9998
2003-09-02remove shadow'd var by using variable name from prototypeJonathan Gray
svn-id: r9979
2003-09-02moved volume and pan control into flow funcPaweł Kołodziejski
svn-id: r9976
2003-09-02Fixed compiler warning that I introduced earlier.Torbjörn Andersson
svn-id: r9974
2003-09-02Added per-channel pausing. Maybe I should have named the pauseChannel()Torbjörn Andersson
function simply pause() to be consistent with stop(), but there already is a pause() function and I don't want to have two functions with the same name doing different things. (The current pause() function pauses all channels.) svn-id: r9968
2003-09-01forgot thisPaweł Kołodziejski
svn-id: r9957
2003-09-01The channel could be destroyed so changeVolumeAndPan can't access it in that ↵Chris Apers
case svn-id: r9955
2003-08-31added mixer features: volume and pan control per channelPaweł Kołodziejski
svn-id: r9944
2003-08-30revert id handle stuffPaweł Kołodziejski
svn-id: r9927
2003-08-30added func isChannelActive for mixer, and fixed handling numbers of channel 0Paweł Kołodziejski
svn-id: r9924
2003-08-09added SoundMixer::pauseChannels for pausing SFX and keeping adlib music ↵Robert Göffringmann
running (needed by BASS when menu bar drops down) svn-id: r9607
2003-08-06some cleanupMax Horn
svn-id: r9575
2003-08-05some cleanup; added Channel::getVolume, once somebody tells me what exactly ↵Max Horn
is needed, I can add per-channel volume, and also per-channel panning svn-id: r9525
2003-08-05begone, old mixer codeMax Horn
svn-id: r9521
2003-08-05more cleanupMax Horn
svn-id: r9513
2003-08-05more cleanup (like the previous two, I just moved around code, to clearly ↵Max Horn
separate the old and the new mixer code) svn-id: r9479
2003-08-05some more cleanupMax Horn
svn-id: r9478
2003-08-05cleanup; removed some code duplicationMax Horn
svn-id: r9477
2003-08-04renamed eof -> eos (end of stream); hid MP3/Vorbis stream classes completly ↵Max Horn
(by providing factory methods); new readBuffer method for AudioInputStream for improved speed of the mixer; new MusicStream class (subclassed for MP3/Vorbis sound) which offers a getRate method; some other tweaks svn-id: r9467
2003-08-02some more tweaksMax Horn
svn-id: r9424
2003-08-02added FLAG_REVERSE_STEREO supportMax Horn
svn-id: r9416
2003-08-02obsoleteMax Horn
svn-id: r9410
2003-08-02oopsMax Horn
svn-id: r9396
2003-08-02converted ChannelMP3 to use new rate conversion scheme, too. Only thing ↵Max Horn
missing now is FLAG_REVERSE_STEREO support (and of course fixing regressions, and the long term goal is to make resample.cpp usable, too) svn-id: r9395
2003-08-02fix ChannelMP3CDMusic volume, too :-)Max Horn
svn-id: r9393
2003-08-02fix Vorbis music volumeMax Horn
svn-id: r9392
2003-08-02disable debug outputMax Horn
svn-id: r9390
2003-08-01let the input stream handle the looping (by pretending to be of infinite ↵Max Horn
size -> this fixes a problem which cause 'gaps' at loop turn-over points) svn-id: r9379
2003-08-01implemented raw sound looping; some debug output enabled temporarilyMax Horn
svn-id: r9360
2003-07-31get rid of BUGGY_NEW_MP3_PLAYERMax Horn
svn-id: r9347
2003-07-31revamped MP3/Vorbis CD 'emulation' code to use a PlayingSoundHandle -> this ↵Max Horn
allows to finally get rid of the hackish isChannelActive/isChannelUsed methods in SoundMixer svn-id: r9346
2003-07-31make use of the new MP3InputStream in ChannelMP3CDMusic - but disabled by ↵Max Horn
default, because it is still quite buggy (e.g. crashes at end of stream etc) svn-id: r9314
2003-07-31cleanupMax Horn
svn-id: r9312
2003-07-30Partial fix for bug #780167 ("SIMON1/2: Sound problems"). It seems to fixTorbjörn Andersson
the crash, but the sounds play at the wrong rate, I believe. svn-id: r9298
2003-07-30Fixed MSVC errorsJamieson Christian
svn-id: r9288
2003-07-29removed some debug outputMax Horn
svn-id: r9282
2003-07-29cleanupMax Horn
svn-id: r9281
2003-07-29after looking at SAM and DOTT, it seems the actor-voice sync actually is ↵Max Horn
*worse* with a non-zero _silenceCut value - setting it to 0 gives perfect sync for me... odd, when did this change? Anyway, removing _silenceCut. If you notice sync problems, tell me svn-id: r9275
2003-07-29some cleanup; moved around some stuff, preparing to unify more code of ↵Max Horn
ChannelMP3CDMusic and ChannelMP3 svn-id: r9274