aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-10 22:52:17 +0100
committerMax Kellermann <max@duempel.org>2014-11-10 22:52:17 +0100
commit8d036c4b7c3a09bd55bdc86a4fb7b5d525a805c2 (patch)
tree595d3bff8ed82184fd81eac062c676e6355f3a7b /src/config
parent8ff0d99092acfe8e80eba9709c2e93727f9e47b9 (diff)
downloadmpd-8d036c4b7c3a09bd55bdc86a4fb7b5d525a805c2.tar.gz
mpd-8d036c4b7c3a09bd55bdc86a4fb7b5d525a805c2.tar.xz
mpd-8d036c4b7c3a09bd55bdc86a4fb7b5d525a805c2.zip
pcm/SoxrResampler: round output buffer size up
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.
Diffstat (limited to 'src/config')
0 files changed, 0 insertions, 0 deletions