Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-30 | Remove trailing whitespaces. | Eugene Sandulenko | |
svn-id: r18604 | |||
2005-06-24 | When including files from common/, explicitly use the common/ prefix | Max Horn | |
svn-id: r18444 | |||
2005-05-11 | Moved some more stuff to namespace Audio (enough for tonight) | Max Horn | |
svn-id: r18040 | |||
2005-05-10 | Moved 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-01-10 | A little more moving around #include's (last one for today ;-) | Max Horn | |
svn-id: r16534 | |||
2005-01-01 | Updated copyright | Max Horn | |
svn-id: r16398 | |||
2004-12-27 | Use SoundMixer::kMaxMixerVolume | Max Horn | |
svn-id: r16351 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2004-01-03 | renamed AudioInputStream -> AudioStream | Max Horn | |
svn-id: r12110 | |||
2004-01-03 | replace read() by readBuffer() in CopyRateConverter | Max Horn | |
svn-id: r12102 | |||
2003-12-26 | logic fix: we must do wrap around *before* read, not after. otherwise ↵ | Max Horn | |
eosIntern will in some border cases return wrong results; some cleanup svn-id: r11932 | |||
2003-12-19 | distinguish between end of stream and end of data | Max Horn | |
svn-id: r11756 | |||
2003-11-08 | cleanup whitespaces | Paweł Kołodziejski | |
svn-id: r11221 | |||
2003-09-05 | optimized channel volume/pan handling | Max Horn | |
svn-id: r10028 | |||
2003-09-02 | moved volume and pan control into flow func | Paweł Kołodziejski | |
svn-id: r9976 | |||
2003-08-06 | some cleanup | Max Horn | |
svn-id: r9575 | |||
2003-08-04 | not really sure if using readBuffer would give any gain in CopyRateConverter | Max Horn | |
svn-id: r9470 | |||
2003-08-04 | renamed 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-02 | one addition less | Max Horn | |
svn-id: r9425 | |||
2003-08-02 | some more tweaks | Max Horn | |
svn-id: r9424 | |||
2003-08-02 | slightly cut down on the number of times eof() is called | Max Horn | |
svn-id: r9423 | |||
2003-08-02 | optimize code flow a little | Max Horn | |
svn-id: r9419 | |||
2003-08-02 | cleanup | Max Horn | |
svn-id: r9417 | |||
2003-08-02 | added FLAG_REVERSE_STEREO support | Max Horn | |
svn-id: r9416 | |||
2003-08-02 | remove debug output | Max Horn | |
svn-id: r9415 | |||
2003-08-02 | fix for st_rate_flow, code is more straightforward now, too | Max Horn | |
svn-id: r9414 | |||
2003-08-02 | garhg | Max Horn | |
svn-id: r9409 | |||
2003-08-02 | previous mod was techincally incorrect, this one should be better (but might ↵ | Max Horn | |
still be buggy?) svn-id: r9408 | |||
2003-08-02 | I think this fixes bug #780167 ("SIMON1/2: Sound problems"). When | Torbjörn Andersson | |
st_rate_flow() had filled the output buffer, rate->icur and rate->ilast held the same values, which led to some samples being duplicated on the next call. svn-id: r9403 | |||
2003-07-31 | icur was not being saved between rate conversion calls | Max Horn | |
svn-id: r9344 | |||
2003-07-31 | back disable warnings into stdafx.h, vc6 is lack of warnings support | Paweł Kołodziejski | |
svn-id: r9337 | |||
2003-07-31 | removed the AudioInputStream::size method -> only eof() is really needed, ↵ | Max Horn | |
and this can be implemented more efficiently stand-alone; implemented MP3InputStream (work in progress) svn-id: r9313 | |||
2003-07-30 | Fixed MSVC errors | Jamieson Christian | |
svn-id: r9288 | |||
2003-07-29 | Fix mingw compile | Travis Howell | |
svn-id: r9269 | |||
2003-07-28 | instead 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-28 | added CopyRateConverter (used if inrate == outrate) | Max Horn | |
svn-id: r9214 | |||
2003-07-28 | use 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-25 | round to nearest | Max Horn | |
svn-id: r9183 | |||
2003-07-24 | added 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-24 | added 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-24 | new 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 |