• Max Kellermann's avatar
    pcm/SoxrResampler: round output buffer size up · 8d036c4b
    Max Kellermann authored
    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.
    8d036c4b
Name
Last commit
Last update
..
dsd2pcm Loading commit data...
ChannelsConverter.cxx Loading commit data...
ChannelsConverter.hxx Loading commit data...
ConfiguredResampler.cxx Loading commit data...
ConfiguredResampler.hxx Loading commit data...
Domain.cxx Loading commit data...
Domain.hxx Loading commit data...
FallbackResampler.cxx Loading commit data...
FallbackResampler.hxx Loading commit data...
FloatConvert.hxx Loading commit data...
FormatConverter.cxx Loading commit data...
FormatConverter.hxx Loading commit data...
GlueResampler.cxx Loading commit data...
GlueResampler.hxx Loading commit data...
LibsamplerateResampler.cxx Loading commit data...
LibsamplerateResampler.hxx Loading commit data...
Neon.hxx Loading commit data...
PcmBuffer.cxx Loading commit data...
PcmBuffer.hxx Loading commit data...
PcmChannels.cxx Loading commit data...
PcmChannels.hxx Loading commit data...
PcmConvert.cxx Loading commit data...
PcmConvert.hxx Loading commit data...
PcmDither.cxx Loading commit data...
PcmDither.hxx Loading commit data...
PcmDop.cxx Loading commit data...
PcmDop.hxx Loading commit data...
PcmDsd.cxx Loading commit data...
PcmDsd.hxx Loading commit data...
PcmExport.cxx Loading commit data...
PcmExport.hxx Loading commit data...
PcmFormat.cxx Loading commit data...
PcmFormat.hxx Loading commit data...
PcmMix.cxx Loading commit data...
PcmMix.hxx Loading commit data...
PcmPack.cxx Loading commit data...
PcmPack.hxx Loading commit data...
PcmPrng.hxx Loading commit data...
PcmUtils.hxx Loading commit data...
Resampler.hxx Loading commit data...
ShiftConvert.hxx Loading commit data...
SoxrResampler.cxx Loading commit data...
SoxrResampler.hxx Loading commit data...
Traits.hxx Loading commit data...
Volume.cxx Loading commit data...
Volume.hxx Loading commit data...