aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-30 14:25:56 +0100
committerMax Kellermann <max@duempel.org>2008-11-30 14:25:56 +0100
commitf600f4a25619912080989912810543c80eebdee3 (patch)
tree488089fe771d697ca277d80f1bb7754ad710b244 /src/song_print.c
parenta7b692a1df0a064350b6746f3ca207e1f288822c (diff)
downloadmpd-f600f4a25619912080989912810543c80eebdee3.tar.gz
mpd-f600f4a25619912080989912810543c80eebdee3.tar.xz
mpd-f600f4a25619912080989912810543c80eebdee3.zip
shout: fixed the lame input buffer allocation
"float (*lamebuf)[2] = g_malloc()" does NOT allocate two float* buffers. The formula is even wrong: it should be applied to LAME's output buffer, not its input buffer. Converted "lamebuf" to the two variables "left" and "right", and allocate them independently with the exact buffer size. Set right=left if mono output is configured.
Diffstat (limited to 'src/song_print.c')
0 files changed, 0 insertions, 0 deletions