diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 15:18:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-09 15:18:09 +0200 |
commit | 40f59cacda872a494cf033a6f74da7feae282367 (patch) | |
tree | 0c9a458be5547c9de4db13dd9d2faf31d5132824 /src/buffer2array.h | |
parent | ecc3c39e2f557f521135af8a52c8d6216a4a02bd (diff) | |
download | mpd-40f59cacda872a494cf033a6f74da7feae282367.tar.gz mpd-40f59cacda872a494cf033a6f74da7feae282367.tar.xz mpd-40f59cacda872a494cf033a6f74da7feae282367.zip |
pcm: fixed software volume, broken by unsigned integer
"volume" was passed as an unsigned integer, which is correct. It's
just that when it was multiplied with the sample value, the whole
operation was changed to unsigned, breaking the algorithm (and Qball's
ears). Internally change "volume" to signed.
Diffstat (limited to 'src/buffer2array.h')
0 files changed, 0 insertions, 0 deletions