• Max Kellermann's avatar
    shout: fixed the lame input buffer allocation · f600f4a2
    Max Kellermann authored
    "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.
    f600f4a2
shout_mp3.c 4.55 KB