From 84863c4797f84af5df4ddec8b735c0c6161142d2 Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Fri, 10 Sep 2004 21:56:58 +0000 Subject: [PATCH] fixed wrong return type --- src/java/org/lwjgl/fmod3/FSound.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/lwjgl/fmod3/FSound.java b/src/java/org/lwjgl/fmod3/FSound.java index 3014d1af..bdabfc94 100644 --- a/src/java/org/lwjgl/fmod3/FSound.java +++ b/src/java/org/lwjgl/fmod3/FSound.java @@ -2206,10 +2206,10 @@ public class FSound { * @param stream The stream to have its length returned * @return On success, the size of the stream in BYTES is returned. On failure, 0 is returned. */ - public static boolean FSOUND_Stream_GetLength(FSoundStream stream) { + public static int FSOUND_Stream_GetLength(FSoundStream stream) { return nFSOUND_Stream_GetLength(stream.streamHandle); } - private static native boolean nFSOUND_Stream_GetLength(long streamHandle); + private static native int nFSOUND_Stream_GetLength(long streamHandle); /** * Returns the size of the stream in MILLISECONDS @@ -2220,10 +2220,10 @@ public class FSound { * @param stream The stream to have its its total duration returned. * @return On success, the size of the stream in MILLISECONDS is returned. On failure, 0 is returned. */ - public static boolean FSOUND_Stream_GetLengthMs(FSoundStream stream) { + public static int FSOUND_Stream_GetLengthMs(FSoundStream stream) { return nFSOUND_Stream_GetLengthMs(stream.streamHandle); } - private static native boolean nFSOUND_Stream_GetLengthMs(long streamHandle); + private static native int nFSOUND_Stream_GetLengthMs(long streamHandle); /** * Retrieves the mode of the stream