aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_mixer.cpp
AgeCommit message (Collapse)Author
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20511
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-08-14Replace warnings with debug, errors or printfs:Travis Howell
-To catch any missing cases/functions used. -To prevent users reporting warnings as bugs svn-id: r18682
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-06Check if stream exists first.Travis Howell
svn-id: r17926
2005-05-05do not invoke a method on a non-existant streamMax Horn
svn-id: r17924
2005-04-04Got rid of isSoundHandleActive usage; made the SmushMixer thread safeMax Horn
svn-id: r17380
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-11-27Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; ↵Max Horn
SCUMM now uses the appendable stream directly svn-id: r15919
2004-08-22Switch smush debug to channelTravis Howell
svn-id: r14676
2004-06-21increased audio buffer to solve scuttering problemsPaweł Kołodziejski
svn-id: r13993
2004-03-28Fixed format string to match the number of arguments.Torbjörn Andersson
svn-id: r13404
2004-02-02Fixed most bugs, so only cosmetic visual things left.Eugene Sandulenko
o Support transparency for characters. Needed for cockpit rendering o Fixed bug in NUT renderer which drawed transparent characters garbled o Fixed long-standing (and outstanding) bug with SAUD error o Previous fix fixed music in some cases (scene transitions) o Fixed bug with palette being reset when smush video is rewind o Made debug level for insane adjustable at compile time (maybe I will remove it later) svn-id: r12717
2004-01-29Renamed the 'pan' effect of the mixer to 'balance', since that is what we ↵Max Horn
actually do; applied patch #886786 which corrects a bug in the balance code svn-id: r12665
2004-01-09handle volume and pan by SoundMixer not SmushMixerPaweł Kołodziejski
svn-id: r12287
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-26I got some buffer overflow warnings, seems 200KB isn't quite enough...Max Horn
svn-id: r11931
2003-12-24o Added SoundMixer::isReady()Max Horn
o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893
2003-12-24turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, ↵Max Horn
mainly because people kept (accidentally and sometimes on purpose :-) misusing them svn-id: r11881
2003-12-22fix for bug #864478 (Smush audio streaming); cleanupMax Horn
svn-id: r11855
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-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-09-06removed pauseMixer method from mixer, and renamed stop to stopChannelMax Horn
svn-id: r10042
2003-09-02changed sounds volume to original volume level, and fixed sounds in bass introPaweł Kołodziejski
svn-id: r9963
2003-09-01added sound handle stuff to mixer streamsPaweł Kołodziejski
svn-id: r9956
2003-08-31added mixer features: volume and pan control per channelPaweł Kołodziejski
svn-id: r9944
2003-07-06increased SmushMixer stream size to 500K, this seems to help in ↵Max Horn
Fullthrottle. Apparently, audio data is streamed faster than it's played, and in at least one case there's ~500KB being stream in quick successions (many packets, each 16KB), which is why 100K are not sufficient svn-id: r8784
2003-07-02100 KB instead of 2 MB audio buffer should be sufficientMax Horn
svn-id: r8700
2003-06-22Change names of the stream API in the mixer; added endStream method (stop() ↵Max Horn
halts stream immediately; endStream() lets it first finish playing) svn-id: r8603
2003-06-22fixed warningPaweł Kołodziejski
svn-id: r8599
2003-06-22fix regression I just introduced (voices in smush movies were cut off way ↵Max Horn
too early) svn-id: r8595
2003-06-21lots of mixer cleanup / refactoring / reengineeringMax Horn
svn-id: r8594
2003-06-21modified & cleaned up the playStream/append code a bit; but this API really ↵Max Horn
could stand some refinement svn-id: r8592
2003-06-21get rid of 11025 Hz special case (I hope this is correct; only case I know ↵Max Horn
of where 11025 Hz are used is during the Dig intro svn-id: r8591
2003-06-21got rid of member var 'first'Max Horn
svn-id: r8590
2003-06-21reduce code duplication a bitMax Horn
svn-id: r8586
2003-06-07adhere to our coding style conventions; removed some unneccessary codeMax Horn
svn-id: r8376
2003-05-18warning() automatically outputs a newline after the warning message; adding ↵Max Horn
a newline into the format string adds another newline (which contains the single char '!') svn-id: r7647
2003-04-30som changes to make Palm OS happyMax Horn
svn-id: r7216
2003-03-17init member vars in right orderJonathan Gray
svn-id: r6822
2003-03-17reorg/clenup, changed main loop in smush codePaweł Kołodziejski
svn-id: r6817