fix android typo

This commit is contained in:
Stefano D'Angelo 2024-02-21 17:42:20 +01:00
parent 5ead988afb
commit a7eaf8cc7e

View File

@ -328,7 +328,7 @@ JNI_FUNC(nativeSetParameter)(JNIEnv* env, jobject thiz, jint i, jfloat v) {
if (param_data[i].flags & (PARAM_BYPASS | PARAM_TOGGLED))
v = v > 0.5f ? 1.f : 0.f;
else if (param_data[i].flags & PARAM_INTEGER)
v = (int32_t)(v + (v >= 0.? : 0.5f : -0.5f));
v = (int32_t)(v + (v >= 0.f ? 0.5f : -0.5f));
v = std::min(std::max(v, param_data[i].min), param_data[i].max);
#if PARAMETERS_N > 0
mutex.lock();