Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-08 | AUDIO: Switch to BitStreamMemoryStream in the QDM2 decoder | Bastien Bouclet | |
2017-11-08 | AUDIO: Add some padding to the QDM2 decoder input buffer | Bastien Bouclet | |
Fixes out of bounds reads in the Myst ME intro videos. OOB reads may happen because: - The bitstream implementation reads 4 bytes at a time, and the buffer size is not guaranteed to be a multiple of 4. - The huffman parsing code reads a fixed amount of bits when it sometimes needs not all of them. Also fixed bits vs bytes mismatch for the size parameter of the calls to the bitstream constructor, and removed a few unnecessary heap allocations. Fixes #10220. | |||
2017-09-30 | AUDIO: QDM2: Use the shared int64 type instead of a custom one | Bastien Bouclet | |
2017-09-22 | ALL: Specify the DisposeAfterUse constructor argument for dynamic memory ↵ | Bastien Bouclet | |
write streams | |||
2017-09-21 | VIDEO: Change QT edit list to a Common::Array | Bastien Bouclet | |
And fix an out of bounds acces when seeking to the end of a video. Skipping samples is needed even when seeking through silent edits because a silent stream is queued for those. Fixes #10219. | |||
2017-09-10 | AUDIO: Fix compilation on AmigaOS 4 | Colin Snover | |
2017-09-09 | AUDIO: Mark SCI engine as using ADPCM | Colin Snover | |
2017-09-09 | AUDIO: Fix incorrect reading of DK3 ADPCM audio data | Colin Snover | |
Previously, _topNibble was not reset at the beginning of a new audio block, and the alignment byte at the end of odd blocks was being read as audio data, which caused audible clicks and out-of-bounds sample generation. There may have also been read errors related to the use of continue/break keywords inside of a macro wrapped with do-while(0). The introduction of partial block reads in this code when it was converted from ffmpeg to a ReadStream interface was also confusing and somewhat inefficient (calling SeekableReadStream::pos frequently), so this code has been refactored for clarity and to improve efficiency by reducing the number of virtual calls. Error detection has also been improved somewhat by ensuring that there are enough bytes to read a block header, and that the step indexes in the header are within the valid range. | |||
2017-08-24 | COMMON: Remove BitStream base class to allow inlining calls | Willem Jan Palenstijn | |
All users of BitStream were in fact using a specific, hardcoded variant, so we can hardcode that variant, removing the need for virtual calls, and enabling inlining. | |||
2016-12-20 | AUDIO: Support Wave files with an initial fact chunk | Paul Gilbert | |
2016-09-19 | AUDIO: Keep packetized MP3 stream from ending prematurely | Torbjörn Andersson | |
This fixes the audio in the intro AVI movie for German Fullpipe. | |||
2016-09-03 | AUDIO: Whitespace fix in MP3 engine usage list | Paul Gilbert | |
2016-09-02 | AUDIO: Add Titanic to list of engines using MP3 decoder | Paul Gilbert | |
2016-09-02 | AUDIO: Disable MP3 decoding in Wave files if MAD dependency is disabled | Paul Gilbert | |
2016-09-02 | AUDIO: Add support for MP3 encoded data in WAVE files | Paul Gilbert | |
This is needed for playback of Starship Titanic speech data | |||
2016-08-05 | AUDIO: Add titanic to list of engines using wave files | Paul Gilbert | |
2016-07-31 | AUDIO: Fix build | Willem Jan Palenstijn | |
2016-07-31 | AUDIO: Fix indentation | Eugene Sandulenko | |
2016-07-06 | AUDIO: Fix audio corruption in MS ADPCM decoder | Torbjörn Andersson | |
Since _decodedSamples[] is filled with either 2 or 4 samples, we can't use 1 - (count - 1) to "ensure that acts as a FIFO". When we have 4 samples, that index will become negative, putting uninitialized data into the buffer. We could still use a similar trick, but I think it's much clearer to use an index variable like this. We need an addition variable either way. | |||
2016-06-21 | AUDIO: Fix incorrect forward declaration | Colin Snover | |
2016-06-19 | AUDIO: Make WAV streams seekable | Colin Snover | |
This allows raw PCM in WAVE containers to have duration and be seekable, and opens the door for ADPCM streams to be seekable later if necessary. This change is needed to avoid duplication of RIFF/WAVE container parsing for SCI engine, which uses raw PCM WAVE files and needs to be able to determine their lengths. | |||
2016-05-15 | AUDIO: Plug potential memory leak | Eugene Sandulenko | |
2016-04-14 | JANITORIAL: Reduce audio header dependencies | Ori Avtalion | |
2016-03-28 | JANITORIAL: Mark audio/decoders/vorbis as: used in Wintermute | Tobia Tesan | |
2015-09-15 | AUDIO: Fix compiler warning | Christian Krause | |
This commit fixes a compiler warning about a "set but not used" variable. The warning was introduced by commit 2f707bf2. | |||
2015-09-15 | AUDIO: Fix uninitialized read in MP3 initialization | Matthew Hoops | |
Thanks to chkr-private for finding the issue | |||
2015-08-30 | AUDIO: Mark the old Codec class as deprecated | Matthew Hoops | |
Once QuickTime audio edits are rewritten to use PacketizedAudioStream, we can remove this class. | |||
2015-08-30 | AUDIO: Add a packetized version of ADPCM streams | Matthew Hoops | |
2015-08-30 | AUDIO: Add a packetized version of the PCM stream | Matthew Hoops | |
2015-08-30 | AUDIO: Implement a packetized version of MP3 | Matthew Hoops | |
2015-08-30 | AUDIO: Split the seeking MP3 class from the base decoding stream | Matthew Hoops | |
2015-06-07 | AUDIO: makeAIFFStream seek to start of dataStream | Martin Kiewitz | |
fixes non working audio when playing a File(Stream) | |||
2015-06-06 | AUDIO: Make makeAIFFStream return a RewindableAudioStream | Matthew Hoops | |
All callers requiring SeekableAudioStream have been adapted by using dynamic_cast | |||
2015-06-06 | AUDIO: Fix another syntax error | Matthew Hoops | |
2015-06-06 | AUDIO: Fix syntax | Matthew Hoops | |
2015-06-06 | SHERLOCK: rework 3DO audio, add AIFC file support | Martin 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-04 | AUDIO: Rewrite the AIFF decoder to support AIFC | Matthew Hoops | |
2015-06-04 | AUDIO: Do not read the entire AIFF buffer into memory | Matthew Hoops | |
2015-06-04 | AUDIO: Mark AIFF as being used by BBVS | Matthew Hoops | |
2015-06-04 | AUDIO: Only expose makeAIFFStream to clients | Matthew Hoops | |
2015-06-05 | AUDIO: Add more engines that use wave.h that I missed before. | Torbjörn Andersson | |
2015-06-05 | AUDIO: Update list of engines that use wave.h | Torbjörn Andersson | |
2015-06-04 | SHERLOCK: improve 3DO movie player, add SDX2 codec | Martin 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-05 | AUDIO: Skip ID3 tag at start of mp3 files | Thierry Crozat | |
This fixes bug #6834 MP3: ScummVM doesn't skip ID3 tag at beginning of file. | |||
2015-01-26 | AUDIO: Fix skipping samples when the skip length is greater than the first chunk | Matthew Hoops | |
2014-08-14 | AUDIO: Really fix seeking with audio edits | Matthew Hoops | |
I really have no idea what I was thinking in acb127c2 | |||
2014-08-09 | Merge pull request #487 from clone2727/audio_fixes | Eugene Sandulenko | |
AUDIO: Miscellaneous AudioStream fixes | |||
2014-08-01 | AUDIO: Rename MP3Stream's _totalTime to _curTime to better reflect the ↵ | Joni Vähämäki | |
variable's purpose. | |||
2014-07-27 | AUDIO: Finish off AAC/QDM2 queues when done decoding a packet | Matthew Hoops | |
2014-07-26 | AUDIO: Increment total play time when decoding MP3 data. | Joni Vähämäki | |