From c094d6a0fd37a33f0e37342a78d2e50b671329eb Mon Sep 17 00:00:00 2001 From: kbr Date: Wed, 5 Dec 2007 06:58:52 +0000 Subject: Fixed bug in net.java.games.sound3d.Buffer.configure() pointed out by java.net user danao git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@716 03bf7f67-59de-4072-a415-9a990d468a3f --- src/java/net/java/games/sound3d/Buffer.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/java/net') 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); } } -- cgit v1.2.3