Adjust the upper limit of roomsize.

The upper limit is narrowed from 1.2 to 1.0 value to avoid output
growing  exponentially.
This commit is contained in:
jjceresa 2017-11-16 00:16:34 +01:00 committed by GitHub
parent fd7bc44b0b
commit b71e1230e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -805,7 +805,7 @@ fluid_handle_reverbsetroomsize(void* data, int ac, char** av, fluid_ostream_t ou
fluid_ostream_printf(out, "rev_setroomsize: Room size must be positive!\n"); fluid_ostream_printf(out, "rev_setroomsize: Room size must be positive!\n");
return FLUID_FAILED; return FLUID_FAILED;
} }
if (room_size > 1.2){ if (room_size > 1.0){
fluid_ostream_printf(out, "rev_setroomsize: Room size too big!\n"); fluid_ostream_printf(out, "rev_setroomsize: Room size too big!\n");
return FLUID_FAILED; return FLUID_FAILED;
} }