Browse Source

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

tags/non-daw-v1.2.0
Jonathan Moore Liles 11 years ago
parent
commit
f6c0e48a50
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      mixer/src/AUX_Module.C
  2. +1
    -1
      mixer/src/Gain_Module.C

+ 1
- 1
mixer/src/AUX_Module.C 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;


+ 1
- 1
mixer/src/Gain_Module.C 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;


Loading…
Cancel
Save