Browse Source

Mixer: Remove dead signal feedback code.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
1a9741cb7f
2 changed files with 1 additions and 22 deletions
  1. +1
    -1
      lib/ntk
  2. +0
    -21
      mixer/src/Module.H

+ 1
- 1
lib/ntk

@@ -1 +1 @@
Subproject commit fd8c8d419e8e548c8f6328f1b21783c6ca3001a5
Subproject commit f084e8d2ccdcf8f5c997618b984c493462532a1c

+ 0
- 21
mixer/src/Module.H View File

@@ -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…
Cancel
Save