diff options
author | Max Kellermann <max@duempel.org> | 2011-12-13 21:45:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-12-13 21:59:10 +0100 |
commit | e735abe33481afb51b30be5561d3c5b8a090384a (patch) | |
tree | ae0a58e075096e4e591a1bf7f46ef0a7116d0339 /src/decoder_control.c | |
parent | c0070b2f13b324cb56ef9ccfdb436c85245dd6a6 (diff) | |
download | mpd-e735abe33481afb51b30be5561d3c5b8a090384a.tar.gz mpd-e735abe33481afb51b30be5561d3c5b8a090384a.tar.xz mpd-e735abe33481afb51b30be5561d3c5b8a090384a.zip |
output/openal: use alGetSourcei(AL_BUFFER) to force-unqueue buffers
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.
Diffstat (limited to 'src/decoder_control.c')
0 files changed, 0 insertions, 0 deletions