fixed params (int -> float)
This commit is contained in:
parent
ec4a94d47d
commit
93aa253732
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue