OSC: fix issue 6839, make all OSC gaindB values below -192, inf.
This commit is contained in:
parent
11cbcd793f
commit
3eb5f76edb
@ -1108,6 +1108,9 @@ OSC::route_set_gain_abs (int rid, float level)
|
||||
int
|
||||
OSC::route_set_gain_dB (int rid, float dB)
|
||||
{
|
||||
if (dB < -192) {
|
||||
return route_set_gain_abs (rid, 0.0);
|
||||
}
|
||||
return route_set_gain_abs (rid, dB_to_coefficient (dB));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user