Mixer: Don't create/destroy OSC ports more often than necessary.
This commit is contained in:
parent
5027e65d13
commit
d2a3afb810
|
@ -351,6 +351,8 @@ public:
|
||||||
|
|
||||||
Chain *chain ( void ) const { return _chain; }
|
Chain *chain ( void ) const { return _chain; }
|
||||||
void chain ( Chain * v )
|
void chain ( Chain * v )
|
||||||
|
{
|
||||||
|
if ( _chain != v )
|
||||||
{
|
{
|
||||||
_chain = v;
|
_chain = v;
|
||||||
|
|
||||||
|
@ -359,6 +361,7 @@ public:
|
||||||
control_input[i].update_osc_port();
|
control_input[i].update_osc_port();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
char *get_parameters ( void ) const;
|
char *get_parameters ( void ) const;
|
||||||
void set_parameters ( const char * );
|
void set_parameters ( const char * );
|
||||||
|
|
Loading…
Reference in New Issue