Mixer: Make sure process queue is rebuilt upon binding of controls.
This commit is contained in:
parent
e945a3893c
commit
8087901269
|
@ -558,6 +558,8 @@ Chain::add_control ( Controller_Module *m )
|
||||||
|
|
||||||
controls_pack->add( m );
|
controls_pack->add( m );
|
||||||
|
|
||||||
|
configure_ports();
|
||||||
|
|
||||||
engine()->unlock();
|
engine()->unlock();
|
||||||
|
|
||||||
controls_pack->redraw();
|
controls_pack->redraw();
|
||||||
|
|
|
@ -118,7 +118,9 @@ Controller_Module::Controller_Module ( bool is_default ) : Module( is_default, 5
|
||||||
|
|
||||||
add_port( Port( this, Port::OUTPUT, Port::CONTROL ) );
|
add_port( Port( this, Port::OUTPUT, Port::CONTROL ) );
|
||||||
|
|
||||||
mode( GUI );
|
_mode = GUI;
|
||||||
|
|
||||||
|
// mode( GUI );
|
||||||
// mode( CV );
|
// mode( CV );
|
||||||
// configure_inputs( 1 );
|
// configure_inputs( 1 );
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ Mono_Pan_Module::Mono_Pan_Module ( )
|
||||||
: Module ( 50, 24, name() )
|
: Module ( 50, 24, name() )
|
||||||
{
|
{
|
||||||
Port p( this, Port::INPUT, Port::CONTROL, "Pan" );
|
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.ranged = true;
|
||||||
p.hints.minimum = -1.0f;
|
p.hints.minimum = -1.0f;
|
||||||
p.hints.maximum = 1.0f;
|
p.hints.maximum = 1.0f;
|
||||||
|
|
Loading…
Reference in New Issue