Mixer: Fix law hint on gain and aux module controls.

This commit is contained in:
Jonathan Moore Liles 2013-10-21 17:30:44 -07:00
parent 1aafc5330f
commit f6c0e48a50
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;