Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-12-26 | db/simple: fix implicit nullptr/bool conversion | Max Kellermann | 1 | -1/+1 | |
Return false on error, not nullptr. | |||||
2014-11-21 | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 1 | -8/+8 | |
Simplify the definition of many build options. | |||||
2014-11-10 | pcm/SoxrResampler: round output buffer size up | Max Kellermann | 1 | -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-23 | pcm/ChannelsConverter: fix variable used to generate error message | Max Kellermann | 1 | -1/+1 | |
Use the "_format" parameter instead of the (uninitialized) "format" attribute. | |||||
2014-10-23 | pcm/FormatConverter: move check to Open() | Max Kellermann | 1 | -10/+24 | |
Report unsupported format while opening the filter, not later when the first conversion takes place. | |||||
2014-10-23 | pcm/PcmConvert: assign {src,dest}_format at the end | Max Kellermann | 1 | -12/+13 | |
Fixes assertion failure in destructor by not assigning {src,dest}_format when an error occurs. | |||||
2014-10-23 | pcm/PcmConvert: make AudioFormat parameters "const" | Max Kellermann | 1 | -1/+1 | |
2014-09-26 | pcm: --disable-dsd also disables the dsd2pcm library | Max Kellermann | 2 | -1/+11 | |
2014-09-26 | PcmConvert: eliminate unused local variable "format" | Max Kellermann | 1 | -12/+2 | |
2014-08-31 | output/alsa, pcm: rename "DSD over USB" to "DoP" | Max Kellermann | 4 | -30/+29 | |
The standard has been renamed since the early draft that was implemented in MPD. | |||||
2014-08-30 | *: add missing Compiler.h includes | Max Kellermann | 3 | -0/+3 | |
Necessary for "final" on gcc 4.6. | |||||
2014-08-26 | PcmExport: remove obsolete API documentation | Max Kellermann | 1 | -2/+1 | |
2014-08-23 | pcm/PcmDsd: remove "lsbfirst" support | Max Kellermann | 3 | -6/+4 | |
Unused. Bit reversing is done in the decoder. | |||||
2014-08-23 | pcm/dsd2pcm: add license headers | Max Kellermann | 7 | -0/+210 | |
Obtained from the Mercurial repository at https://code.google.com/p/dsd2pcm/ | |||||
2014-08-16 | pcm/SoxrResampler: add missing string.h include | Max Kellermann | 1 | -0/+1 | |
2014-08-13 | PcmExport: add missing <iterator> include | Max Kellermann | 1 | -0/+2 | |
For the range-based loop on a ConstBuffer object. | |||||
2014-08-12 | PcmDsdUsb: use class ConstBuffer | Max Kellermann | 3 | -18/+16 | |
2014-08-12 | PcmExport: use class ConstBuffer | Max Kellermann | 2 | -36/+23 | |
2014-08-12 | PcmConvert: Convert() returns ConstBuffer | Max Kellermann | 2 | -12/+4 | |
2014-07-30 | pcm: use nullptr instead of NULL | Max Kellermann | 2 | -3/+3 | |
2014-03-19 | pcm/Neon: explicit rounding | Max Kellermann | 1 | -3/+5 | |
Convert to 31 bit first, then right-shift with rounding to 16 bit. | |||||
2014-03-16 | pcm/Neon: make neon_x4_b() variadic | Max Kellermann | 1 | -6/+5 | |
2014-03-16 | pcm/Neon: apply bit shift during float->int conversion | Max Kellermann | 1 | -7/+2 | |
Avoid multiplication. This is a speedup of 20%. | |||||
2014-03-15 | pcm/PcmFormat: ARM NEON optimizations for float->s16 | Max Kellermann | 2 | -1/+135 | |
This is nearly 4 times faster than the "portable" algorithm. | |||||
2014-03-14 | pcm/PcmFormat: don't use WritableBuffer | Max Kellermann | 1 | -28/+20 | |
The previous commit eliminated the need for that. | |||||
2014-03-14 | pcm/PcmFormat: instantiate FloatToInteger<S32> | Max Kellermann | 1 | -6/+1 | |
.. instead of reusing FloatToInteger<S24> and converting from S24 to S32 in-place. | |||||
2014-03-14 | pcm/PcmFormat: eliminate more duplicate code with templates | Max Kellermann | 3 | -122/+233 | |
Refactor the conversion functions to classes and pass an instance to the new function AllocateConvert(). | |||||
2014-03-14 | pcm/PcmFormat: eliminate local variable "bits" | Max Kellermann | 1 | -3/+1 | |
2014-03-14 | pcm/PcmFormat: remove obsolete AllocateFromFloat() overload | Max Kellermann | 1 | -15/+0 | |
2014-03-01 | util/{Const,Writable}Buffer: add operator[] | Max Kellermann | 1 | -3/+3 | |
2014-02-06 | pcm/FallbackResampler: add missing ConstBuffer<T>::ToVoid() call | Max Kellermann | 1 | -1/+1 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -3/+3 | |
2014-01-21 | pcm/SoxrResampler: Add configurable quality levels | Chase Geigle | 3 | -3/+73 | |
2014-01-17 | pcm/Volume: make DSD a no-op | Max Kellermann | 1 | -2/+8 | |
Kludge to work around DSD playback failure because the ReplayGainFilterPlugin is always in the filter chain. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 42 | -42/+42 | |
2014-01-07 | pcm/Utils: remove unused function pcm_end_pointer() | Max Kellermann | 1 | -12/+0 | |
2014-01-07 | pcm/Volume: use number of samples instead of end pointer | Max Kellermann | 1 | -25/+19 | |
2014-01-06 | pcm/Format: change parameters/return values to ConstBuffer | Max Kellermann | 3 | -259/+160 | |
2014-01-06 | pcm/Format: use number of samples instead of end pointer | Max Kellermann | 1 | -44/+34 | |
2013-12-28 | pcm/Volume: remove unused function pcm_volume_dither() | Max Kellermann | 1 | -16/+0 | |
2013-12-28 | pcm/PcmMix: improved dithering | Max Kellermann | 2 | -18/+31 | |
Use the existing PcmDither library. | |||||
2013-12-28 | pcm/Volume: improved dithering | Max Kellermann | 4 | -20/+54 | |
Instead of just adding a rectangular random value before shifting back to the normal scale, use the existing PcmDither library. | |||||
2013-12-28 | pcm/PcmDither: inline Dither24To16() and Dither32To16() | Max Kellermann | 2 | -3/+4 | |
2013-12-28 | pcm/Volume: remove optimized i386 assembly | Max Kellermann | 1 | -50/+0 | |
This code is unable to dither. Until we implement that, let's remove the code for now. i386 isn't relevant anymore anyway. | |||||
2013-12-25 | pcm/Traits: use 32 bit integer for S8 long_type | Max Kellermann | 1 | -1/+1 | |
16 bit is not enough for volume calculations. | |||||
2013-12-24 | pcm/Dither: add API documentation | Max Kellermann | 1 | -0/+18 | |
2013-12-24 | pcm/Dither: move shift from DitherConvert() to Dither() | Max Kellermann | 1 | -2/+2 | |
All callers need this shift, so let's move it to the basic method. | |||||
2013-12-24 | pcm/Dither: rename DitherShift() to DitherConvert() | Max Kellermann | 2 | -11/+11 | |
2013-12-23 | pcm/Volume: convert to class | Max Kellermann | 2 | -40/+126 | |
Prepare for adding state. | |||||
2013-12-23 | pcm/Volume: apply volume into destination buffer | Max Kellermann | 1 | -21/+37 | |