• Max Kellermann's avatar
    decoder/gme: pass the whole buffer to decoder_data() · 6566038d
    Max Kellermann authored
    Pass sizeof(buf) to decoder_data(), not the number of samples (which
    is half the size).  At the same time, pass GME_BUF_SIZE to gme_play()
    - libgme really wants to get the number of samples, not the number of
    stereo frames.  Previously, this plugin had been using only the first
    half of the buffer.
    6566038d
gme_decoder_plugin.c 2.83 KB