aboutsummaryrefslogtreecommitdiff
path: root/sound/rate.h
AgeCommit message (Collapse)Author
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
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-11some (untested!) support for backends which require unsigned audio samplesMax Horn
svn-id: r10183
2003-09-05optimized channel volume/pan handlingMax Horn
svn-id: r10028
2003-09-02moved volume and pan control into flow funcPaweł Kołodziejski
svn-id: r9976
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-05get rid of calls to the obsolete AudioInputStream::size methodMax Horn
svn-id: r9471
2003-08-02some more tweaksMax Horn
svn-id: r9424
2003-08-02cleanupMax Horn
svn-id: r9417
2003-08-02added FLAG_REVERSE_STEREO supportMax Horn
svn-id: r9416
2003-08-02disable debug outputMax Horn
svn-id: r9390
2003-08-01implemented raw sound looping; some debug output enabled temporarilyMax Horn
svn-id: r9360
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-29added VorbisInputStreamMax Horn
svn-id: r9271
2003-07-29added makeRateConverter factory functionMax Horn
svn-id: r9270
2003-07-28moved st_gcd to resample.cppMax Horn
svn-id: r9257
2003-07-28instead of 'int channels', use 'bool stereo' (less extensible, but then I ↵Max Horn
don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency svn-id: r9239
2003-07-28added CopyRateConverter (used if inrate == outrate)Max Horn
svn-id: r9214
2003-07-28use a single converter for both channels (if input data is stereo), for ↵Max Horn
improved efficency; renamed MemoryAudioInputStream -> LinearMemoryStream and use some template voodoo to make the baseclass of Input8bitSignedStream etc. variable; added (commented out) draf of WrappedMemoryStream svn-id: r9209
2003-07-24added volume support; some cleanup; provided exactly as many samples as were ↵Max Horn
requested in the 'resample' algorithm (if possible) svn-id: r9180
2003-07-24added RateConverter classes as thin wrappers around st_* functions; renamed ↵Max Horn
InputStream -> AudioInputStream and cleaned up the hierarchy of its subclasses; added makeInputStream() auxillary function svn-id: r9179
2003-07-24new files, based on SoX (http://sox.sf.net): better resampling code. Note ↵Max Horn
that my mixer.cpp changes are on purpose not yet in CVS since they are not complete. Only reasons I checkin these files is that it's much more comfortable to have CVS, since I need to rewrite parts of resample.cpp now (I already have lots of modifications in). Also expect more OO in the future svn-id: r9176