Mixer: Remove dead signal feedback code.
This commit is contained in:
parent
6d2aeaf405
commit
1a9741cb7f
2
lib/ntk
2
lib/ntk
|
@ -1 +1 @@
|
|||
Subproject commit fd8c8d419e8e548c8f6328f1b21783c6ca3001a5
|
||||
Subproject commit f084e8d2ccdcf8f5c997618b984c493462532a1c
|
|
@ -217,27 +217,6 @@ public:
|
|||
{
|
||||
*((float*)buffer()) = f;
|
||||
}
|
||||
|
||||
if ( _scaled_signal )
|
||||
{
|
||||
|
||||
if ( hints.ranged )
|
||||
{
|
||||
// scale value to range.
|
||||
|
||||
float scale = hints.maximum - hints.minimum;
|
||||
float offset = hints.minimum;
|
||||
|
||||
f = ( f - offset ) / scale;
|
||||
}
|
||||
|
||||
if ( f > 1.0 )
|
||||
f = 1.0;
|
||||
else if ( f < 0.0 )
|
||||
f = 0.0;
|
||||
|
||||
// _scaled_signal->value( f );
|
||||
}
|
||||
}
|
||||
|
||||
void control_value ( float f )
|
||||
|
|
Loading…
Reference in New Issue