summaryrefslogtreecommitdiffstats
path: root/src/java/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/net')
-rw-r--r--src/java/net/java/games/sound3d/Buffer.java1
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);
}
}