Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
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 |