diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:20:40 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:20:40 +0000 |
commit | a25a7624f0f9d0f520ef155cd61bbcfcde352de1 (patch) | |
tree | 22c75f685b9b2acf87743f5270263115fbe30666 /src/compress.c | |
parent | f4252ee795c330484b3be1f299c593c052a270be (diff) | |
download | mpd-a25a7624f0f9d0f520ef155cd61bbcfcde352de1.tar.gz mpd-a25a7624f0f9d0f520ef155cd61bbcfcde352de1.tar.xz mpd-a25a7624f0f9d0f520ef155cd61bbcfcde352de1.zip |
multiply num_samples with bytes_per_channel
The patch "convert blocks until the buffer is full" did not update
data->chunk_length correctly: it added the number of samples, not the
number of bytes. Multiply that with bytes_per_channel
git-svn-id: https://svn.musicpd.org/mpd/trunk@7332 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions