- 23 Aug, 2014 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Nobody cares.
-
Max Kellermann authored
Prepare refactoring the whole plugin to use blocks instead of bytes. A block is the smallest addressable unit, and it will simplify the seeking code.
-
Max Kellermann authored
This finishes the multi-channel support. Development of the feature was started with commit 02cc77cd
-
Max Kellermann authored
When calculating the upper bound using the "sample count" format header, don't assume it's stereo.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 22 Aug, 2014 2 commits
-
-
Max Kellermann authored
The plugin was horribly bugged for files that were not stereo.
-
Max Kellermann authored
Don't pass the buffer size to the function, as it's known at compile time. Use "restrict" on the pointer arguments, and merge the two loops, which allows the compiler to optimize this loop with a few SSE2 instructions.
-
- 21 Aug, 2014 9 commits
-
-
Max Kellermann authored
Read one block at a time. This discards the last partial block, which cannot be interleaved anyway. Previously, uninitialised memory was used to interleave the last block, which generated some noise.
-
Max Kellermann authored
Convert into a second buffer that gets passed to decoder_data() without copying back to the first buffer.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This allows the compiler to discard buffer contents between two function calls.
-
Max Kellermann authored
-
Max Kellermann authored
Same bug as in the previous commit.
-
Max Kellermann authored
When the data chunk size is not a multiple of the frame size, the last partial frame lead to an endless loop. We fix this by checking chunk_sze>=frame instead of chunk_sze>0. This way, the partial frame is simply skipped.
-
- 20 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Aug, 2014 21 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Reduce header dependencies.
-
Max Kellermann authored
Seeking on NFS or SMB is cheap. Actually, only HTTP streams are expensive to seek. This enables a few features on NFS/SMB files, for example Ogg tags.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Has been moved to class InputStream long ago.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Since we already checked InputStream::KnownSize(), we can assume that GetSize() returns a valid value, and this check is obsolete.
-
Max Kellermann authored
Replace the bogus GetSize() check and call GetSize() only when necessary.
-
Max Kellermann authored
-
Max Kellermann authored
-