Browse Source

Mixer: Make sure process queue is rebuilt upon binding of controls.

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
8087901269
3 changed files with 6 additions and 2 deletions
  1. +2
    -0
      Mixer/Chain.C
  2. +3
    -1
      Mixer/Controller_Module.C
  3. +1
    -1
      Mixer/Mono_Pan_Module.C

+ 2
- 0
Mixer/Chain.C View File

@@ -558,6 +558,8 @@ Chain::add_control ( Controller_Module *m )

controls_pack->add( m );

configure_ports();

engine()->unlock();

controls_pack->redraw();


+ 3
- 1
Mixer/Controller_Module.C View File

@@ -118,7 +118,9 @@ Controller_Module::Controller_Module ( bool is_default ) : Module( is_default, 5

add_port( Port( this, Port::OUTPUT, Port::CONTROL ) );

mode( GUI );
_mode = GUI;

// mode( GUI );
// mode( CV );
// configure_inputs( 1 );



+ 1
- 1
Mixer/Mono_Pan_Module.C View File

@@ -26,7 +26,7 @@ Mono_Pan_Module::Mono_Pan_Module ( )
: Module ( 50, 24, name() )
{
Port p( this, Port::INPUT, Port::CONTROL, "Pan" );
p.hints.type = Port::Hints::LOGARITHMIC;
// p.hints.type = Port::Hints::LOGARITHMIC;
p.hints.ranged = true;
p.hints.minimum = -1.0f;
p.hints.maximum = 1.0f;


Loading…
Cancel
Save