aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/DsfDecoderPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-22configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIBMax Kellermann1-4/+4
2014-08-29TagHandler: pass SongTime to duration()Max Kellermann1-3/+3
2014-08-29DecoderAPI: pass SignedSongTime to decoder_initialized()Max Kellermann1-2/+2
2014-08-26decoder/dsf: use integer seek timesMax Kellermann1-4/+4
2014-08-23decoder/dsf: implement seekingMax Kellermann1-1/+25
2014-08-23decoder/dsf: refactor the main decoder loopMax Kellermann1-19/+7
Check for STOP before decoding the first chunk. This reduces the command latency.
2014-08-23decoder/dsf: make the buffer more localMax Kellermann1-3/+2
This allows the compiler to discard buffer contents between two iterations.
2014-08-23decoder/dsf: eliminate pointless return statementMax Kellermann1-5/+4
2014-08-23decoder/dsf: use the block count internallyMax Kellermann1-10/+10
2014-08-23decoder/dsf: don't skip remaining bytesMax Kellermann1-1/+1
Nobody cares.
2014-08-23decoder/dsf: count the blocks, not the remaining bytesMax Kellermann1-2/+3
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.
2014-08-23decoder/dsf: allow channel setups other than stereoMax Kellermann1-2/+1
This finishes the multi-channel support. Development of the feature was started with commit 02cc77cd8
2014-08-23decoder/dsf: eliminate another hard-coded stereo mode assumptionMax Kellermann1-1/+1
When calculating the upper bound using the "sample count" format header, don't assume it's stereo.
2014-08-23decoder/dsf: fix big-endian bugsMax Kellermann1-6/+8
2014-08-23decoder/dsf: compare with InputStream::GetRest() instead of ..GetSize()Max Kellermann1-5/+2
2014-08-22decoder/dsf: fix multi-channel filesMax Kellermann1-10/+46
The plugin was horribly bugged for files that were not stereo.
2014-08-22decoder/dsf: simplify dsf_to_pcm_order()Max Kellermann1-10/+5
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.
2014-08-21decoder/dsf: fix noise at end of malformed fileMax Kellermann1-15/+7
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.
2014-08-21decoder/dsf: eliminate temporary bufferMax Kellermann1-12/+7
Convert into a second buffer that gets passed to decoder_data() without copying back to the first buffer.
2014-08-21decoder/dsf: add constant DSF_BLOCK_SIZEMax Kellermann1-4/+6
2014-08-21decoder/dsf: use size_t loop variables when the limit is a size_tMax Kellermann1-2/+2
2014-08-21decoder/dsf: use memcpy()Max Kellermann1-4/+3
2014-08-21decoder/dsf: make the "scratch" buffer localMax Kellermann1-6/+5
This allows the compiler to discard buffer contents between two function calls.
2014-08-20decoder/dsf: remove unused attribute "id3_size"Max Kellermann1-1/+0
2014-08-19decoder/DsdLib: use offset_type instead of uint64_tMax Kellermann1-12/+11
2014-08-19InputStream: move typedef offset_type to Offset.hxxMax Kellermann1-2/+2
Reduce header dependencies.
2014-08-19decoder/dsf: check InputStream::KnownSize()Max Kellermann1-3/+5
2014-08-19decoder/dsf: remove unnecessary ID3 offset checkMax Kellermann1-5/+1
If the offset is out of range, the seek will simply fail. Not a problem.
2014-08-16decoder/dsf: Allow up to DSD512. Enable DSD rates based on Fs=48kHzJurgen Kramer1-1/+1
2014-08-16Report bitrate for DSF and DSDIFF DSD decodersJurgen Kramer1-2/+4
2014-08-16decoder/dsf: fix indentMax Kellermann1-3/+3
2014-01-24Input*: move to input/Max Kellermann1-1/+1
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-3/+0
2013-11-23decoder/{dsf,dsdiff}: eliminate useless assignmentsMax Kellermann1-2/+2
2013-11-05decoder/dsf: enable DSD128Jurgen Kramer1-2/+2
2013-10-28*: use nullptr instead of NULLMax Kellermann1-3/+3
2013-10-28decoder/dsf: don't play junk at the end of the "data" chunkMax Kellermann1-1/+9
2013-10-28decoder/dsf: add range checkMax Kellermann1-0/+3
2013-10-28decoder/dsdlib: add class DsdUint64Max Kellermann1-20/+10
Merge lots of duplicate code.
2013-10-28decoder/dsdlib: convert struct dsdlib_id to a classMax Kellermann1-6/+6
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-7/+7
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-6/+6
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-1/+1
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann1-2/+2
Decouple some more from GLib.
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-10/+11
Replacing GLib macros.
2013-10-02Log: new logging library APIMax Kellermann1-4/+2
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-6/+5
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1