mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-15 09:55:55 +01:00
OSC: fix issue 6839, make all OSC gaindB values below -192, inf.
This commit is contained in:
parent
11cbcd793f
commit
3eb5f76edb
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue