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.
This commit is contained in:
Max Kellermann
2013-11-22 22:50:29 +01:00
parent 87c8953e8e
commit fc7d5b055d
4 changed files with 48 additions and 2 deletions

1
NEWS
View File

@@ -7,6 +7,7 @@ ver 0.18.5 (20??/??/??)
- proxy: provide "db_update" in "stats" response
* decoder
- fluidsynth: auto-detect by default
* clip 24 bit data from libsamplerate
* fix ia64, mipsel and other little-endian architectures
* fix build failures due to missing includes
* fix build failure with static libmpdclient