aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders
AgeCommit message (Collapse)Author
2015-06-07AUDIO: makeAIFFStream seek to start of dataStreamMartin Kiewitz
fixes non working audio when playing a File(Stream)
2015-06-06AUDIO: Make makeAIFFStream return a RewindableAudioStreamMatthew Hoops
All callers requiring SeekableAudioStream have been adapted by using dynamic_cast
2015-06-06AUDIO: Fix another syntax errorMatthew Hoops
2015-06-06AUDIO: Fix syntaxMatthew Hoops
2015-06-06SHERLOCK: rework 3DO audio, add AIFC file supportMartin Kiewitz
- rework 3DO audio decoders to decode into buffer only - 3DO audio decoders also use streams without separate size arg now - add support for ADP4 + SDX2 inside AIFC files - add debug command "3do_playaudio" to play AIFC files - remove audio flags and replace with stereo bool
2015-06-04AUDIO: Rewrite the AIFF decoder to support AIFCMatthew Hoops
2015-06-04AUDIO: Do not read the entire AIFF buffer into memoryMatthew Hoops
2015-06-04AUDIO: Mark AIFF as being used by BBVSMatthew Hoops
2015-06-04AUDIO: Only expose makeAIFFStream to clientsMatthew Hoops
2015-06-05AUDIO: Add more engines that use wave.h that I missed before.Torbjörn Andersson
2015-06-05AUDIO: Update list of engines that use wave.hTorbjörn Andersson
2015-06-04SHERLOCK: improve 3DO movie player, add SDX2 codecMartin Kiewitz
- queue up to 0.5 seconds of audio to avoid buffer underruns - support for SDX2 codec - put both audio codecs into audio/decoders/3do.cpp - made movie player capable of playing EA logo movie
2015-04-05AUDIO: Skip ID3 tag at start of mp3 filesThierry Crozat
This fixes bug #6834 MP3: ScummVM doesn't skip ID3 tag at beginning of file.
2015-01-26AUDIO: Fix skipping samples when the skip length is greater than the first chunkMatthew Hoops
2014-08-14AUDIO: Really fix seeking with audio editsMatthew Hoops
I really have no idea what I was thinking in acb127c2
2014-08-09Merge pull request #487 from clone2727/audio_fixesEugene Sandulenko
AUDIO: Miscellaneous AudioStream fixes
2014-08-01AUDIO: Rename MP3Stream's _totalTime to _curTime to better reflect the ↵Joni Vähämäki
variable's purpose.
2014-07-27AUDIO: Finish off AAC/QDM2 queues when done decoding a packetMatthew Hoops
2014-07-26AUDIO: Increment total play time when decoding MP3 data.Joni Vähämäki
2014-03-18COMMON: Move some QuickTime Track variables into SampleDesc where they belongMatthew Hoops
2014-02-18AUDIO: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-15ALL: Remove optimization unstable code on checking for null after new.D G Turner
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code.
2013-04-20AUDIO: Cleanup namingMatthew Hoops
2013-04-20AUDIO: Remove default makeADPCMStream rate/channels valuesMatthew Hoops
2013-04-16AUDIO: Fix invalid free callMatthew Hoops
2012-12-13Merge pull request #293 from clone2727/qtmidiclone2727
Add support for QuickTime Music playback
2012-12-10AUDIO: Fix MS ADPCM to work with Mono streams using odd sized buffers.D G Turner
2012-11-24AUDIO: Fix AIFF comment about supporting IMA ADPCMMatthew Hoops
2012-10-03AUDIO: Don't allow skipping negative times in skipSamples()Matthew Hoops
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-09COMMON: Make QuickTimeParser::readSampleDesc take the desc sizeMatthew Hoops
2012-08-31ALL: Mark off some things as used by PegasusMatthew Hoops
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-12AUDIO: Move LimitingAudioStream to audio/Matthew Hoops
2012-08-09AUDIO: Fix "if" formatting in QDM2 code.Johannes Schickel
2012-08-04AUDIO: Correct ADPCM Fixes to ensure internal buffers are drained.D G Turner
This also adds an omitted _decodedSampleCount initialization in Oki ADPCM decoder.
2012-08-04AUDIO: Fix Oki ADPCM to work with Mono streams using odd sized buffers.D G Turner
2012-08-04AUDIO: Fix DVI ADPCM to work with Mono streams using odd sized buffers.D G Turner
2012-06-11AUDIO: Make VOC decoder a bit more failsafe by still playing parts of ↵Johannes Schickel
invalid VOC files. Formerly when an unsupported block was found the opening would fail. Instead now all the valid blocks till that occasion will be played. This fixes an missing sound in Full Throttle (thanks to clone2727 for reporting), which is using a VOC file which fails to specify the proper block length for its sound block.
2012-05-21AUDIO: Fix seeking to the end of a QuickTime audio trackMatthew Hoops
2012-04-28AUDIO: Fix seeking in QuickTime files with multiple edit listsMatthew Hoops
2012-04-13AUDIO: Remove now unused Sin/Cos table and FFT code from QDM2 Codec.D G Turner
This was only used by the RDFT code, now replaced by Common::RDFT.
2012-04-13AUDIO: Migrate QDM2 Codec to using Common::RDFT class.D G Turner
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.