• Max Kellermann's avatar
    output/openal: use alGetSourcei(AL_BUFFER) to force-unqueue buffers · e735abe3
    Max Kellermann authored
    The implementation of cancel() did not work well: you cannot use
    alSourceUnqueueBuffers() to unqueue queued buffers, and our function
    openal_unqueue_buffers() left the OpenAL library in a rather undefined
    state; nothing was supposed to be queued, but the "filled" variable
    was not reset.
    e735abe3
openal_output_plugin.c 5.88 KB