diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/net/java/games/sound3d/Buffer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/net/java/games/sound3d/Buffer.java b/src/java/net/java/games/sound3d/Buffer.java index 70ad188..97f67d2 100644 --- a/src/java/net/java/games/sound3d/Buffer.java +++ b/src/java/net/java/games/sound3d/Buffer.java @@ -72,6 +72,7 @@ public class Buffer { */ public void configure(ByteBuffer data, int format, int freq) { if (!isConfigured) { + this.data = data; al.alBufferData(bufferID, format, data, data.capacity(), freq); } } |