13
0

OSC make strippable null on drop references

This commit is contained in:
Len Ovens 2018-04-07 09:11:45 -07:00
parent 0e88eff05c
commit 518f8108ac
3 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,7 @@ OSCCueObserver::clear_observer ()
tick_enable = false;
strip_connections.drop_connections ();
_strip = boost::shared_ptr<ARDOUR::Stripable> ();
send_end (0);
// all strip buttons should be off and faders 0 and etc.
_osc.text_message_with_id (X_("/cue/name"), 0, " ", true, addr);

View File

@ -97,6 +97,9 @@ OSCRouteObserver::no_strip ()
_init = true;
strip_connections.drop_connections ();
_gain_control = boost::shared_ptr<ARDOUR::GainControl> ();
_send = boost::shared_ptr<ARDOUR::Send> ();
_strip = boost::shared_ptr<Stripable> ();
/*
* The strip will sit idle at this point doing nothing until
* the surface has recalculated it's strip list and then calls

View File

@ -101,6 +101,7 @@ OSCSelectObserver::no_strip ()
send_connections.drop_connections ();
plugin_connections.drop_connections ();
eq_connections.drop_connections ();
_strip = boost::shared_ptr<Stripable> ();
/*
* The strip will sit idle at this point doing nothing until
* the surface has recalculated it's strip list and then calls