diff options
author | kbr <[email protected]> | 2007-12-05 06:58:52 +0000 |
---|---|---|
committer | kbr <[email protected]> | 2007-12-05 06:58:52 +0000 |
commit | c094d6a0fd37a33f0e37342a78d2e50b671329eb (patch) | |
tree | 9814d5478482dff1a005bc5026d21321a970405f /src | |
parent | f3e192813de4c0d6040509ff11af1bb24215c826 (diff) |
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
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); } } |