Mixer: Don't create/destroy OSC ports more often than necessary.

This commit is contained in:
Jonathan Moore Liles 2012-02-09 23:06:21 -08:00
parent 5027e65d13
commit d2a3afb810
1 changed files with 7 additions and 4 deletions

View File

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