Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-06-28 | Make use of new File refcount code; also fixed long standing bug in vorbis ↵ | Max Horn | |
code (ov_clear was not being called, resulting in a file not being closed) svn-id: r14107 | |||
2004-06-09 | Fixed a typo in a comment. | Torbjörn Andersson | |
svn-id: r13948 | |||
2004-04-26 | synced code free space with buffer changes | Paweł Kołodziejski | |
svn-id: r13646 | |||
2004-04-25 | delete CustomProcInputStream and add getFreeSpace for appendable audiostream | Paweł Kołodziejski | |
svn-id: r13629 | |||
2004-04-13 | added CustomProcInputStream | Paweł Kołodziejski | |
svn-id: r13570 | |||
2004-02-22 | Patch #885904 (Flac Support) with some tweaks by me | Max Horn | |
svn-id: r12984 | |||
2004-02-08 | Change AppendableMemoryStream overflows to debug messages, so people stop ↵ | James Brown | |
believing them to be the cause of errors in bug reports :P svn-id: r12775 | |||
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 | simplification (possible since read() doesn't have to be efficient anymore) | Max Horn | |
svn-id: r12103 | |||
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-24 | o 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-21 | Rewrote make*Stream factory functions to work around bug in MSVC6 (see bug ↵ | Max Horn | |
report #860067); added some comments; LinearMemoryStream now can auto-dispose the data passed to it svn-id: r11798 | |||
2003-12-19 | distinguish between end of stream and end of data | Max Horn | |
svn-id: r11756 | |||
2003-12-19 | o Moved MP3 and Vorbis input streams to mp3.* resp. vorbis.* | Max Horn | |
o Added SoundMixer::playInputStream and made some of the other play* methods use it o Added ProcInputStream stub (not working yet) which one day may allow us to replace the premix code, and allow other fancy stuff o Remove AudioInputStream::readBuffer default implementation (subclasses should always provide it for max. performance) o Some minor cleanup svn-id: r11754 | |||
2003-12-19 | fix for recent audio stream regression | Max Horn | |
svn-id: r11752 | |||
2003-12-17 | Made sure that *all* AudioInputStream 'know' their sample rate; removed ↵ | Max Horn | |
pointless MusicStream class; removed various specific Channel subclasses and instead generalized the base class some more svn-id: r11699 | |||
2003-12-17 | changed the way 'streams' are handled: the finalization logic is now in the ↵ | Max Horn | |
WrappedAudioInputStream; this allows further streamlining of the channel/mixer code (can you already guess what I am working towards? :-) svn-id: r11696 | |||
2003-12-17 | some cleanup | Max Horn | |
svn-id: r11694 | |||
2003-12-16 | added mixer flag for little endian samples | Robert Göffringmann | |
svn-id: r11665 | |||
2003-12-09 | small tweak/fix (?) | Max Horn | |
svn-id: r11541 | |||
2003-11-08 | cleanup whitespaces | Paweł Kołodziejski | |
svn-id: r11221 | |||
2003-09-18 | moved 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-09 | Up debug level of this warning, since it floods output in loom | Travis Howell | |
svn-id: r10131 | |||
2003-08-24 | small cleanup for the Ogg playback code | Max Horn | |
svn-id: r9852 | |||
2003-08-07 | my code was actually right. Rather the calling code is evil, it passes us ↵ | Max Horn | |
odd buffer sizes for 16 bit audio data, which of course made no sense -> I added some asserts against this svn-id: r9590 | |||
2003-08-07 | replace code in readBuffer by slightly less efficient but hopefully working ↵ | Max Horn | |
code (at least it fixes an endless loop in COMI for me). I did fix the originaly bug in my optimization, and right now I clueless as to why that code isn't working as it should <sigh>. Need sleep svn-id: r9588 | |||
2003-08-06 | Added comment to new macro | Jamieson Christian | |
svn-id: r9581 | |||
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 |