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