diff options
author | Xerxes Rånby <[email protected]> | 2013-12-18 17:54:45 +0100 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2013-12-18 17:54:45 +0100 |
commit | 8a032a2c1f247819bdb08382fbebcc4cd896b3f2 (patch) | |
tree | 0383a508fd6f539dd4af59abd3d444e7e581db54 /src/jogl/classes/jogamp/opengl/openal | |
parent | 82927b0e75a2a93f3728d158295a6ae25dddeecf (diff) |
ALAudioSink GLMediaPlayerImpl FFMPEGMediaPlayer: Verbosity only w/ DEBUG flag.
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/openal')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java b/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java index 1229eb7b8..8b12f8a28 100644 --- a/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java +++ b/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java @@ -487,7 +487,7 @@ public class ALAudioSink implements AudioSink { // clip wait at [2 .. 100] ms final int avgBufferDura = chosenFormat.getBytesDuration( alBufferBytesQueued / alFramesPlaying.size() ); final int sleep = Math.max(2, Math.min(100, releaseBufferLimes * avgBufferDura)); - if( DEBUG || true ) { + if( DEBUG ) { System.err.println(getThreadName()+": ALAudioSink: Dequeue.wait["+i+"]: avgBufferDura "+avgBufferDura+", releaseBufferLimes "+releaseBufferLimes+", sleep "+sleep+" ms, playImpl "+(AL.AL_PLAYING == getSourceState())+", processed "+val[0]+", "+this); } unlockContext(); |