summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java1
1 files changed, 0 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 9f0561cb3..db01d3a38 100644
--- a/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java
+++ b/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java
@@ -82,7 +82,6 @@ public class ALAudioSink implements AudioSink {
// Allocate buffers
al.alGenBuffers(NUM_BUFFERS, buffers, 0);
al.alGenSources(1, source, 0);
- al.alSourcei(source[0], AL.AL_BUFFER, buffers[0]);
if(al.alGetError() != AL.AL_NO_ERROR) {
throw new ALException("Error generating :(");