aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders
AgeCommit message (Collapse)Author
2012-04-13AUDIO: Fixes to restore QDM2 Codec function.D G Turner
The Bitstream format is changed to 32LELSB and an error in the getVlc2() function bitstream reading needed to be corrected to fix operation.
2012-04-13AUDIO: Update to QDM2 codec fixing pointer to stream buffer usage.D G Turner
This should allow the QDM2 codec to work again with Common::Bitstream instead of the older getBits() reader, but this aborts with a reading past end of stream error...
2012-04-13AUDIO: Removed qdm2_decode_sub_packet_header() function from QDM2.D G Turner
This is to allow modification of the code which needs to assign the data member of the sub_packet structure to an offset in the input byte readStream.
2012-04-13AUDIO: Fix skipping in QDM2 BitStream usage.D G Turner
getBits(n) would cause a runtime error if n is greater than 32, but using getBits() to skip is no longer necessary as the newer BitStream class has a skip method, which is used instead.
2012-04-13AUDIO: Clean up QDM2 getVlc2() function.D G Turner
2012-04-13AUDIO: Initial Refactoring of QDM2 to use Common::BitStream.D G Turner
This removes the internal getBitContext bitwise reading code and replaces with Common::BitStream. However, this breaks the codec as in one location, the internal buffer of getBitContext reader is used and this can't be directly replaced. This will need to be understood and rewritten.
2012-04-10AUDIO: Force QuickTime stereo samples to mono if neededMatthew Hoops
The number of channels in AAC can differ from the actual number of channels needed making us require this. The channel count inside the container is always the correct one.
2012-03-30AUDIO: Fix QDM2 extra data parsingMatthew Hoops
2012-03-19AUDIO: Add support for multiple QuickTime audio tracksMatthew Hoops
This also cleans up the QuickTime audio code to make it a bit more manageable too
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-09AUDIO: Add support for RAW PCM wave stream with an incomplete packetBastien Bouclet
The last incomplete packet is ignored
2012-01-26AUDIO: Add more warnings in case invalid VOC data is encountered.Johannes Schickel
2012-01-26AUDIO: Fix missing sounds in Simon 1 Amiga CD32.Johannes Schickel
It seems the VOC files used by Simon 1 Amiga CD32 use 128 as terminator block. Added this as a special case with a debug output when it's caught.
2011-12-31AUDIO: Remove outdated comment about RawStream. Thanks to clone2727 for ↵Johannes Schickel
noticing.
2011-12-29AUDIO: Fix M4A seeking with multiple time->sample chunksMatthew Hoops
2011-12-29AUDIO: Only warn about audio edit lists when the count is > 1Matthew Hoops
MPEG-4 files don't contain any elst atom
2011-12-24AUDIO: Remove obsolete loadVOCFromStream.Johannes Schickel
2011-12-24AUDIO: SAGA now uses the Mac snd code tooMatthew Hoops
2011-12-12VIDEO: Add support for QuickTime video track edit listsMatthew Hoops
2011-11-27VIDEO: Rewrite VMD audio streamingMatthew Hoops
Audio is now decoded in AudioStream classes instead of being decoded ahead of time and then queued.
2011-11-24AUDIO: Fix type 9 sound blocks in VOC code.Johannes Schickel
This should fix missing sound in Touche.
2011-11-20M4: Removed the M4/MADS engine from trunkPaul Gilbert
2011-11-06AUDIO: Simplify RawStream code.Johannes Schickel
This drops the (unused) ability to play based on a list of input blocks. This was formely only used by the NDS specific VOC streaming code, which has been removed in 9fa9f68789ef51e078cb8631e06bead13cae13f2.
2011-11-06AUDIO: Remove unused makeRawDiskStream_OLD factory.Johannes Schickel
2011-11-06AUDIO: Implement a basic VocStream class.Johannes Schickel
Now all VOCs are streamed rather than preloaded. This deprecates the STREAM_AUDIO_FROM_DISK define, which was previously used to stream VOCs from disk. This might very well break some engines which relied on the stream not being changed after makeVOCStream! I adapted all engines which had a check for STREAM_AUDIO_FROM_DISK in their code. It would be wise to check all other engines using VOC to see if this might cause any problems for them.
2011-11-04QDM2: Removed superfluous parenthesesFilippos Karapetis
2011-10-28AUDIO: Adapt include guard names to the "new" directory name.Johannes Schickel
2011-10-09DRASCULA: Remove unecessary VOC header dependency.D G Turner
Also, remove two engines not using VOC from voc.h header.
2011-10-09AUDIO: Add default disposeAfterUse value to makeVOCStream again.Johannes Schickel
2011-10-09AUDIO: Strip out some unused VOC code.Johannes Schickel
2011-10-09AUDIO: Remove unused makeVOCStream interface.Johannes Schickel
2011-08-25AUDIO: Don't abuse rewind() for looping in XAMatthew Hoops
Thanks to LordHoto for pointing out my stupidity :P
2011-08-25AUDIO: Cleanup the XA codeMatthew Hoops
endOfData() will not return true if the eos flag is encountered. Flag handling is a bit stricter than before (flags == 1 does not necessarily mean eos). Also removed some dead code, fixed wrong code, and fixed formatting.
2011-08-25AUDIO: Properly handle XA flagsMatthew Hoops
2011-08-24AUDIO: Add a DisposeAfterUse parameter to makeXAStreamMatthew Hoops
2011-08-24AUDIO: Remove default rate parameter from xaMatthew Hoops
2011-08-24AUDIO: Rename Vag to XAMatthew Hoops
Vag is really an XA container, and one that we do not have a decoder for (nor need)
2011-08-07COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).Christoph Mallon
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07AUDIO: #define OV_EXCLUDE_STATIC_CALLBACKS to not get unnecessary static ↵Christoph Mallon
data, which causes warnings.
2011-08-06JANITORIAL: Remove SVN keywordsEugene Sandulenko
2011-07-19COMMON: Renamed Integer Log2 function from log2 to intLog2.D G Turner
This avoids naming collisions with system libraries on some platforms i.e. DS, DC where the log2 is realised by macro.
2011-07-19AUDIO: Fix stereo MS IMA ADPCM decodingSven Hesse
2011-07-19CODECS: Replaced Integer log2 in QDM2 with Common::Math implementation.D G Turner
2011-07-10JANITORIAL: Remove svn keywords from audio/decoders/codec.hJohannes Schickel
2011-07-10AUDIO: Fix QDM2 sound in QuickTime filesMatthew Hoops
2011-07-10AUDIO: Fix remaining AAC bugs by decoding with the same AAC contextMatthew Hoops
This introduces a new Audio::Codec class, based on DrMcCoy's solution for WMA in eos.
2011-06-23ANALYSIS: Fix potential memory leak when using reallocJulien
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-07AUDIO: Remove tabs from comment spacingMatthew Hoops