diff options
Diffstat (limited to 'src/java/com/jogamp/openal/sound3d/Buffer.java')
-rw-r--r-- | src/java/com/jogamp/openal/sound3d/Buffer.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/com/jogamp/openal/sound3d/Buffer.java b/src/java/com/jogamp/openal/sound3d/Buffer.java index 52a17bd..0b6db38 100644 --- a/src/java/com/jogamp/openal/sound3d/Buffer.java +++ b/src/java/com/jogamp/openal/sound3d/Buffer.java @@ -43,9 +43,9 @@ import java.nio.ByteBuffer; * The Sound3D Buffer is a container for audio data used in the Sound3D * environment. * - * @author Athomas Goldberg + * @author Athomas Goldberg, Sven Gothel, et al. */ -public class Buffer { +public final class Buffer { public final static int FORMAT_MONO8 = AL.AL_FORMAT_MONO8; public final static int FORMAT_MONO16 = AL.AL_FORMAT_MONO16; @@ -149,4 +149,9 @@ public class Buffer { return i[0]; } + + @Override + public String toString() { + return "ALBuffer[id "+alBufferID+"]"; + } } |