Mixer: Fix law hint on gain and aux module controls.
This commit is contained in:
parent
1aafc5330f
commit
f6c0e48a50
|
@ -33,7 +33,7 @@ AUX_Module::AUX_Module ( ) : JACK_Module ( false )
|
||||||
|
|
||||||
{
|
{
|
||||||
Port p( this, Port::INPUT, Port::CONTROL, "Gain (dB)" );
|
Port p( this, Port::INPUT, Port::CONTROL, "Gain (dB)" );
|
||||||
p.hints.type = Port::Hints::LOGARITHMIC;
|
p.hints.type = Port::Hints::LINEAR;
|
||||||
p.hints.ranged = true;
|
p.hints.ranged = true;
|
||||||
p.hints.minimum = -70.0f;
|
p.hints.minimum = -70.0f;
|
||||||
p.hints.maximum = 6.0f;
|
p.hints.maximum = 6.0f;
|
||||||
|
|
|
@ -32,7 +32,7 @@ Gain_Module::Gain_Module ( )
|
||||||
|
|
||||||
{
|
{
|
||||||
Port p( this, Port::INPUT, Port::CONTROL, "Gain (dB)" );
|
Port p( this, Port::INPUT, Port::CONTROL, "Gain (dB)" );
|
||||||
p.hints.type = Port::Hints::LOGARITHMIC;
|
p.hints.type = Port::Hints::LINEAR;
|
||||||
p.hints.ranged = true;
|
p.hints.ranged = true;
|
||||||
p.hints.minimum = -70.0f;
|
p.hints.minimum = -70.0f;
|
||||||
p.hints.maximum = 6.0f;
|
p.hints.maximum = 6.0f;
|
||||||
|
|
Loading…
Reference in New Issue