aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmVolume.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-22 22:50:29 +0100
committerMax Kellermann <max@duempel.org>2013-11-22 23:27:56 +0100
commitfc7d5b055d98306af0c882282902a23e963f026d (patch)
treebe38c99eef3be2c4acfcbba4077842b7c17b738d /src/pcm/PcmVolume.hxx
parent87c8953e8ed660b59ea2452b4d3a431785c47495 (diff)
downloadmpd-fc7d5b055d98306af0c882282902a23e963f026d.tar.gz
mpd-fc7d5b055d98306af0c882282902a23e963f026d.tar.xz
mpd-fc7d5b055d98306af0c882282902a23e963f026d.zip
PcmResampleLibsamplerate: clip 24 bit data
Using pcm_resample_lsr_32() for 24 bit samples works, but may cause 24 bit overflows. This commit makes 24 bit a special case with explicit clipping.
Diffstat (limited to 'src/pcm/PcmVolume.hxx')
0 files changed, 0 insertions, 0 deletions