aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-12-13 21:45:26 +0100
committerMax Kellermann <max@duempel.org>2011-12-13 21:59:10 +0100
commite735abe33481afb51b30be5561d3c5b8a090384a (patch)
treeae0a58e075096e4e591a1bf7f46ef0a7116d0339 /test/test_pcm_main.c
parentc0070b2f13b324cb56ef9ccfdb436c85245dd6a6 (diff)
downloadmpd-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 'test/test_pcm_main.c')
0 files changed, 0 insertions, 0 deletions