Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-08-06 | Changed readSample template function | Jamieson Christian | |
to Fingolfin's new READSAMPLE macro. Circumvents buggy template function handling in MSVC6. Props to Fingolfin for tracking this bug down by remote. svn-id: r9580 | |||
2003-08-06 | Fixed type mismatch error compiling palmos port | Chris Apers | |
svn-id: r9552 | |||
2003-08-05 | more cleanup | Max Horn | |
svn-id: r9513 | |||
2003-08-05 | cleanup | Max Horn | |
svn-id: r9512 | |||
2003-08-05 | fix bug #783423 | Max Horn | |
svn-id: r9484 | |||
2003-08-05 | and finally VorbisInputStream::readBuffer. Once we verified the new ↵ | Max Horn | |
readBuffer methods all work, we can get rid of readIntern again and merge those back into the regular read() methods svn-id: r9476 | |||
2003-08-05 | optimized MP3InputStream::readBuffer (once more, I won't gurantee for ↵ | Max Horn | |
correctness although it seems to work fine over here) svn-id: r9475 | |||
2003-08-05 | simplified code a bit | Max Horn | |
svn-id: r9474 | |||
2003-08-05 | optimized WrappedMemoryStream::readBuffer (It's almost 3 AM, so I don't ↵ | Max Horn | |
trust myself, hence I'll leave this as an #ifdef for now :-) svn-id: r9473 | |||
2003-08-05 | catch one potential problem, namely if eos is already reached when ↵ | Max Horn | |
readBuffer is called ('This should never happen anyway', famous last words) svn-id: r9472 | |||
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-04 | fixed EOF handling of MP3 streams (subtract time from duration timer, ↵ | Max Horn | |
instead of adding it...) svn-id: r9464 | |||
2003-08-02 | slightly optimized MP3InputStream::eof, and some cleanup | Max Horn | |
svn-id: r9422 | |||
2003-08-02 | don't use asserts in these tight spots | Max Horn | |
svn-id: r9420 | |||
2003-08-02 | converted 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-01 | let 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-01 | implemented raw sound looping; some debug output enabled temporarily | Max Horn | |
svn-id: r9360 | |||
2003-07-31 | fixed MP3InputStream, now seems to work properly (kind of a surprise) | Max Horn | |
svn-id: r9345 | |||
2003-07-31 | back disable warnings into stdafx.h, vc6 is lack of warnings support | Paweł Kołodziejski | |
svn-id: r9337 | |||
2003-07-31 | Disabled unknown pragma warning in MSVC-6. | Jamieson Christian | |
svn-id: r9320 | |||
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 incorrect MSVC fixes; simplified readSample code (bugs #780167 and ↵ | Max Horn | |
#780420) svn-id: r9302 | |||
2003-07-30 | the VC warning for unknown pragmas is now gloabally disabled, no need to ↵ | Max Horn | |
work around it locally svn-id: r9300 | |||
2003-07-30 | Fixed MSVC errors | Jamieson Christian | |
svn-id: r9288 | |||
2003-07-29 | cleanup | Max Horn | |
svn-id: r9281 | |||
2003-07-29 | account for the data in the _buffer, too | Max Horn | |
svn-id: r9276 | |||
2003-07-29 | added VorbisInputStream | Max Horn | |
svn-id: r9271 | |||
2003-07-28 | make wrapped stream work (I can hear some music in CoMI now before it ↵ | Max Horn | |
segfaults :-) svn-id: r9258 | |||
2003-07-28 | rewrote the input streams, this should be more straightforward and inline ↵ | Max Horn | |
slightly better (the fact that the main AudioInputStream methods are virtual still means that no inlining can take place there; but of course, if we did change that, all the rate converters would have to exist in 8, instead of currently 2, compiled versions) svn-id: r9256 | |||
2003-07-28 | more work on WrappedMemoryStream (not yet tested) | Max Horn | |
svn-id: r9253 | |||
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 | 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 | move AudioInputStream implementations & makeInputStream into separate .cpp file | Max Horn | |
svn-id: r9190 |