aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-27pcm/Order: new library to convert from FLAC to ALSA channel orderMax Kellermann4-0/+199
This new library is integrated in the PcmExport class and (if enabled) converts MPD's channel order (= FLAC channel order) to ALSA channel order. This fixes: http://bugs.musicpd.org/view.php?id=3147 and http://bugs.musicpd.org/view.php?id=3255
2015-06-22pcm/Interleave: add stereo optimizationMax Kellermann1-0/+19
2015-06-22pcm/Interleave: instantiate a 16 bit optimizationMax Kellermann1-0/+15
2015-06-22pcm/Interleave: convert PcmInterleave32() to templateMax Kellermann1-4/+13
2015-06-22pcm/Interleave: add optimization for 32 bit samplesMax Kellermann2-5/+48
Move code from the "vorbis" decoder.
2015-06-22pcm/Interleave: add "restrict" keywordsMax Kellermann2-3/+6
2015-06-22decoder/ffmpeg: move code to pcm/Interleave.cxxMax Kellermann2-0/+80
2015-06-20pcm/soxr: fix recipe parserMax Kellermann1-1/+1
2015-03-17*: doxygen fixupsMax Kellermann6-25/+11
2015-01-25pcm/SoxrResampler: move quality recipe names to tableMax Kellermann1-25/+23
2015-01-22pcm/SoxrResampler: allow multi-threaded resamplingMax Kellermann1-1/+1
2015-01-22pcm/SoxrResampler: add a global soxr_runtime_spec_t variableMax Kellermann1-1/+5
2015-01-22Config: add section "resampler"Max Kellermann5-33/+123
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-1/+1
2015-01-21pcm/SoxrResampler: use a global soxr_quality_spec_t variableMax Kellermann1-6/+7
2015-01-21pcm/SoxrResampler: soxr_parse_converter() returns unsigned longMax Kellermann1-13/+18
2015-01-21pcm/SoxrResampler: add constant SOXR_DEFAULT_QUALITYMax Kellermann1-1/+3
2015-01-21pcm/SoxrResampler: fix indentMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann45-45/+45
2014-12-26db/simple: fix implicit nullptr/bool conversionMax Kellermann1-1/+1
Return false on error, not nullptr.
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann1-8/+8
Simplify the definition of many build options.
2014-11-10pcm/SoxrResampler: round output buffer size upMax Kellermann1-1/+2
The old formula calculates the output buffer size with "regular" rounding (to the nearest integer), however sometimes, that is insufficient and the last sample cannot be resampled. This causes audible distortions. By changing the formula to consider the worst case (always round up), this problem is eliminated.
2014-10-23pcm/ChannelsConverter: fix variable used to generate error messageMax Kellermann1-1/+1
Use the "_format" parameter instead of the (uninitialized) "format" attribute.
2014-10-23pcm/FormatConverter: move check to Open()Max Kellermann1-10/+24
Report unsupported format while opening the filter, not later when the first conversion takes place.
2014-10-23pcm/PcmConvert: assign {src,dest}_format at the endMax Kellermann1-12/+13
Fixes assertion failure in destructor by not assigning {src,dest}_format when an error occurs.
2014-10-23pcm/PcmConvert: make AudioFormat parameters "const"Max Kellermann1-1/+1
2014-09-26pcm: --disable-dsd also disables the dsd2pcm libraryMax Kellermann2-1/+11
2014-09-26PcmConvert: eliminate unused local variable "format"Max Kellermann1-12/+2
2014-08-31output/alsa, pcm: rename "DSD over USB" to "DoP"Max Kellermann4-30/+29
The standard has been renamed since the early draft that was implemented in MPD.
2014-08-30*: add missing Compiler.h includesMax Kellermann3-0/+3
Necessary for "final" on gcc 4.6.
2014-08-26PcmExport: remove obsolete API documentationMax Kellermann1-2/+1
2014-08-23pcm/PcmDsd: remove "lsbfirst" supportMax Kellermann3-6/+4
Unused. Bit reversing is done in the decoder.
2014-08-23pcm/dsd2pcm: add license headersMax Kellermann7-0/+210
Obtained from the Mercurial repository at https://code.google.com/p/dsd2pcm/
2014-08-16pcm/SoxrResampler: add missing string.h includeMax Kellermann1-0/+1
2014-08-13PcmExport: add missing <iterator> includeMax Kellermann1-0/+2
For the range-based loop on a ConstBuffer object.
2014-08-12PcmDsdUsb: use class ConstBufferMax Kellermann3-18/+16
2014-08-12PcmExport: use class ConstBufferMax Kellermann2-36/+23
2014-08-12PcmConvert: Convert() returns ConstBufferMax Kellermann2-12/+4
2014-07-30pcm: use nullptr instead of NULLMax Kellermann2-3/+3
2014-03-19pcm/Neon: explicit roundingMax Kellermann1-3/+5
Convert to 31 bit first, then right-shift with rounding to 16 bit.
2014-03-16pcm/Neon: make neon_x4_b() variadicMax Kellermann1-6/+5
2014-03-16pcm/Neon: apply bit shift during float->int conversionMax Kellermann1-7/+2
Avoid multiplication. This is a speedup of 20%.
2014-03-15pcm/PcmFormat: ARM NEON optimizations for float->s16Max Kellermann2-1/+135
This is nearly 4 times faster than the "portable" algorithm.
2014-03-14pcm/PcmFormat: don't use WritableBufferMax Kellermann1-28/+20
The previous commit eliminated the need for that.
2014-03-14pcm/PcmFormat: instantiate FloatToInteger<S32>Max Kellermann1-6/+1
.. instead of reusing FloatToInteger<S24> and converting from S24 to S32 in-place.
2014-03-14pcm/PcmFormat: eliminate more duplicate code with templatesMax Kellermann3-122/+233
Refactor the conversion functions to classes and pass an instance to the new function AllocateConvert().
2014-03-14pcm/PcmFormat: eliminate local variable "bits"Max Kellermann1-3/+1
2014-03-14pcm/PcmFormat: remove obsolete AllocateFromFloat() overloadMax Kellermann1-15/+0
2014-03-01util/{Const,Writable}Buffer: add operator[]Max Kellermann1-3/+3
2014-02-06pcm/FallbackResampler: add missing ConstBuffer<T>::ToVoid() callMax Kellermann1-1/+1