diff options
author | Sven Gothel <[email protected]> | 2013-12-11 20:50:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-12-11 20:50:43 +0100 |
commit | d42b236ef139dcc8d8713535893c7870b55d420c (patch) | |
tree | acf3e6be0773dd58b4e08a4cfa7cdd6361878527 /src/test-native/ffmpeg | |
parent | 8a8ed735f6631b2da7bf605c5c3dda4e0fc13905 (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/test-native/ffmpeg')
0 files changed, 0 insertions, 0 deletions