aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-12-11 20:50:43 +0100
committerSven Gothel <[email protected]>2013-12-11 20:50:43 +0100
commitd42b236ef139dcc8d8713535893c7870b55d420c (patch)
treeacf3e6be0773dd58b4e08a4cfa7cdd6361878527 /src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
parent8a8ed735f6631b2da7bf605c5c3dda4e0fc13905 (diff)
ALAudioSink: Fix stop and flush of OpenAL source
- stopImpl() shall always issue alSourceStop(..) if state is not STOPPED - Remove 'flush' hint for dequeueBuffer(..), we perform proper flush in respective method, see below - flush() needs to issue: - stopImpl() - which should already dequeue all buffers - Explicitly dequeue all buffers: via 'alSourcei(alSource[0], AL.AL_BUFFER, 0)' - Then dequeue manually processed buffers: dequeueBuffer( false /* wait */ ); - And dequeue _all_ buffers: dequeueForceAll();
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLPbufferImpl.java')
0 files changed, 0 insertions, 0 deletions