fixed params (int -> float)

This commit is contained in:
Brian Matzon 2006-08-31 16:40:53 +00:00
parent ec4a94d47d
commit 93aa253732
2 changed files with 2 additions and 2 deletions

View File

@ -1656,7 +1656,7 @@ public class FSound {
* @param max The channels maximum volume distance in "units". See remarks for more on units.
* @return On success, TRUE is returned. On failure, FALSE is returned.
*/
public static native boolean FSOUND_3D_SetMinMaxDistance(int channel, int min, int max);
public static native boolean FSOUND_3D_SetMinMaxDistance(int channel, float min, float max);
/**
* Sets the current position of the sound in SAMPLES not bytes

View File

@ -730,7 +730,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_fmod3_FSound_nFSOUND_13D_1SetAttribute
* Method: FSOUND_3D_SetMinMaxDistance
* Signature: (III)Z
*/
JNIEXPORT jboolean JNICALL Java_org_lwjgl_fmod3_FSound_FSOUND_13D_1SetMinMaxDistance(JNIEnv * env, jclass clazz, jint channel, jint min, jint max) {
JNIEXPORT jboolean JNICALL Java_org_lwjgl_fmod3_FSound_FSOUND_13D_1SetMinMaxDistance(JNIEnv * env, jclass clazz, jint channel, jfloat min, jfloat max) {
return fmod_instance->FSOUND_3D_SetMinMaxDistance(channel, min, max);
}