aboutsummaryrefslogtreecommitdiff
path: root/sound/resample.cpp
AgeCommit message (Collapse)Author
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2003-10-03undo aquadran's recent changes here. If this doesn't compile on MSVC7, fine, ↵Max Horn
simply remove it from your project file - it's not supposed to be compiled ATM svn-id: r10564
2003-10-03fixed compilation under msvc7Paweł Kołodziejski
svn-id: r10562
2003-09-08start to use code from the original resample codebase, since it uses fixed ↵Max Horn
point math instead of float; however, the code is not at all complete right now, I just commit this to get it off my HD (neither the old nor the new code in resample.cpp work anyway) svn-id: r10089
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-07-28moved st_gcd to resample.cppMax Horn
svn-id: r9257
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