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

This commit is contained in:
Jonathan Moore Liles 2010-01-24 16:34:57 -06:00
parent e945a3893c
commit 8087901269
3 changed files with 6 additions and 2 deletions

View File

@ -558,6 +558,8 @@ Chain::add_control ( Controller_Module *m )
controls_pack->add( m );
configure_ports();
engine()->unlock();
controls_pack->redraw();

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

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;