mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 21:31:18 +00:00
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:
parent
fd7bc44b0b
commit
b71e1230e2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue