aboutsummaryrefslogtreecommitdiff
path: root/sound/decoders
AgeCommit message (Collapse)Author
2010-08-22MP3: Fix seeking.Johannes Schickel
Formerly we did not read the first chunk of MP3 data after seeking. This resulted in incorrect sound output in the Freddy Pharkas demo when the sound was compressed with MP3 for example. svn-id: r52272
2010-07-27SOUND: Only dispose the input stream in makeAIFFStream if requestedMatthew Hoops
svn-id: r51373
2010-07-26SOUND: The rate in Mac snd's is fixed, not floating point (fix the comment)Matthew Hoops
svn-id: r51328
2010-07-26SOUND: Move the Mac snd decoder from SCI to /soundMatthew Hoops
For use with Kyra1 Mac instrument samples. T7G Mac and Loom Mac also use this format for their custom instrument samples. svn-id: r51327
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-07-05Revert Android libtremor header to standard path, since we now shipAngus Lees
our own statically linked version rather than relying on the system shared lib that happens to be on most Android systems. svn-id: r50666
2010-06-15Modify makeAIFFStream to match the other sound decoder factoriesMax Horn
svn-id: r49844
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-06Add Android backend from patch #2603856Max Horn
svn-id: r49449
2010-05-30PSP: added preliminary support for using ME hardware to play MP3 files. If ↵Yotam Barnoy
the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3. svn-id: r49319
2010-05-29Fix typo(?) which prevents streaming code from compiling.Neil Millstone
svn-id: r49314
2010-05-26Have makeADPCMStream use the entire stream if the size is 0 (as it says in ↵Matthew Hoops
the doxygen comment). svn-id: r49236
2010-05-23Move the QDM2 code to the graphics module, removing the cyclic dependency.Matthew Hoops
svn-id: r49171
2010-05-23Hide the QDM2 implementation and only expose it via a factory method, ↵Matthew Hoops
hopefully fixing compilation on most systems at the same time. svn-id: r49170
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-05-07Fix comment to removed functionOri Avtalion
svn-id: r48965
2010-05-03Cleanup.Johannes Schickel
svn-id: r48921
2010-05-03Check for read/seek errors of the underlying SeekableReadStream in RawStream.Johannes Schickel
svn-id: r48920
2010-05-03Fix for bug #2961787 "HE SAM1: Music in kitchen slightly off (regression)".Johannes Schickel
Unlike in the branch-1-1-x I did not restore the old RawMemoryStream code in the trunk. Instead I stripped out the pre-buffering of the RawStream code. I still decided to add some in-place buffering in RawStream::readBuffer to at least not rely on super-fast disk I/O. This is currently an experimental change. There might be need to reconsider the buffering (even though backends with slow disk I/O should actually do buffering for file I/O on their own). svn-id: r48919
2010-05-03Paranoia change: Prevent possible assertion caused by MP3Stream.Johannes Schickel
Currently we have an assert checking that the framerate of an Audio::Timestamp is always > 0. Since MAD might return "0" (and maybe even other illegal values) in case the MP3 stream is invalid we need to check that before we setup the _length Timestamp of MP3Stream. svn-id: r48904
2010-04-03Do not use a template parameter for stereo setting for RawStream but instead ↵Johannes Schickel
pass the constructor a boolean, this should save some binary size. svn-id: r48496
2010-04-03Cleanup.Johannes Schickel
svn-id: r48495
2010-04-02Fix bug #2976353 - NIPPON: Sound looping fails (regression). By reverting ↵Travis Howell
47469, since the IFF sound code is only used by the Parallaction game engine. svn-id: r48467
2010-03-22Fix for bug #2969211 "NIPPON: Crash in Intro".Johannes Schickel
It is not a good idea to supply an SubLoopingAudioStream with the start and end time to be exactly the same time. Clarify that in the SubLoopingAudioStream documentation, add an assert in the SubLoopingAudioStream constructor for that case and also prevent make8SVXStream from doing so. svn-id: r48356
2010-03-12Fix bug #2969282: DW2: Weird "PC SPEAKER-like" sound distortion.Max Horn
svn-id: r48246
2010-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-02-10Hopefully fixing bug #2948858 "MP3 (CD Audio) Broken under SVN".Johannes Schickel
svn-id: r48032
2010-02-08Fix RawStream::seek implementation.Johannes Schickel
svn-id: r48007
2010-02-03Loosening the 2 samples per channel requirement of Apple_ADPCMStream to 1 ↵Sven Hesse
sample per channel svn-id: r47864
2010-02-03Fix bug in RawStream::getLength for 16bit streams. (Uncovered by our new ↵Johannes Schickel
unit tests yay!) svn-id: r47859
2010-02-03Make makeMP3Stream return 0 on failure too.Johannes Schickel
svn-id: r47848
2010-02-03Yet more Flac -> FLAC changes for consistency.Johannes Schickel
svn-id: r47847
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-02-03Rename RawAudioStream to RawStream for consistency.Johannes Schickel
svn-id: r47844
2010-02-03Rename:Johannes Schickel
- FlacInputStream -> FlacStream - VorbisInputStream -> VorbisStream - MP3InputStream -> MP3Stream svn-id: r47842
2010-02-03- Return 0 in makeVorbisStream and makeFlacStream, in case creating the ↵Johannes Schickel
stream failed. - Add a TODO in the MP3 code for the same behavior. svn-id: r47841
2010-01-31Further OOify the ADPCM codeMax Horn
svn-id: r47740
2010-01-31Rearrange code of ADPCMStream subclassesMax Horn
svn-id: r47739
2010-01-31Split ADPCMStream into several classesMax Horn
svn-id: r47738
2010-01-31Rename ADPCMInputStream to ADPCMStream; make some members constMax Horn
svn-id: r47737
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-30Add some TODO item.Johannes Schickel
svn-id: r47721
2010-01-30Add some asserts to the RawAudioStream code.Johannes Schickel
svn-id: r47720
2010-01-30Rename RawDiskStream to RawAudioStream.Johannes Schickel
svn-id: r47718
2010-01-30Remove RawMemoryStream.Johannes Schickel
svn-id: r47717
2010-01-30Get rid of Audio::makeRawMemoryStream_OLD.Johannes Schickel
svn-id: r47715
2010-01-30Add a factory which plays audio from a buffer via RawDiskStream.Johannes Schickel
svn-id: r47714
2010-01-30- Mark makeRawDiskStream factory as deprecated.Johannes Schickel
- Introduce two new makeRawStream factories, one is using RawStreamBlockList instead of an RawDiskStreamAudioBlock array. svn-id: r47713
2010-01-30Change RawDiskStream to use a Common::List to store its blocks internally.Johannes Schickel
svn-id: r47712
2010-01-28Add some paranaoia assert (and a related TODO) to the MSIMA2 implementation.Johannes Schickel
svn-id: r47652