aboutsummaryrefslogtreecommitdiff
path: root/doc/mpdconf.example
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-08 08:58:27 +0100
committerMax Kellermann <max@duempel.org>2008-12-08 08:58:27 +0100
commit5b11d5a3320a037d715ab292020666fea0ed3993 (patch)
tree4ac8858c10452777e6187ed29a9a53e11aeacd5e /doc/mpdconf.example
parent0128a9e91025c6d6dea145dabfa447150f8d9916 (diff)
pcm_utils: always round up resampling buffer size
libsamplerate produces cracks in the sound output when the destination buffer is too small. This is the case when pcm_convert_size() rounds down. Use ceil(x) instead of floor(0.5+x) there to prevent a buffer overrun.
Diffstat (limited to 'doc/mpdconf.example')
0 files changed, 0 insertions, 0 deletions