fix [some] issues when adding/removing output ports
This commit is contained in:
parent
f1f84140e7
commit
9d0a3b9eaf
@ -205,6 +205,8 @@ Bundle::remove_channel (uint32_t ch)
|
|||||||
|
|
||||||
Glib::Threads::Mutex::Lock lm (_channel_mutex);
|
Glib::Threads::Mutex::Lock lm (_channel_mutex);
|
||||||
_channel.erase (_channel.begin () + ch);
|
_channel.erase (_channel.begin () + ch);
|
||||||
|
|
||||||
|
emit_changed (ConfigurationChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Remove all channels */
|
/** Remove all channels */
|
||||||
@ -214,6 +216,8 @@ Bundle::remove_channels ()
|
|||||||
Glib::Threads::Mutex::Lock lm (_channel_mutex);
|
Glib::Threads::Mutex::Lock lm (_channel_mutex);
|
||||||
|
|
||||||
_channel.clear ();
|
_channel.clear ();
|
||||||
|
|
||||||
|
emit_changed (ConfigurationChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param p Port name.
|
/** @param p Port name.
|
||||||
|
@ -2949,6 +2949,8 @@ Route::output_change_handler (IOChange change, void * /*src*/)
|
|||||||
contains ConfigurationChanged
|
contains ConfigurationChanged
|
||||||
*/
|
*/
|
||||||
need_to_queue_solo_change = false;
|
need_to_queue_solo_change = false;
|
||||||
|
configure_processors (0);
|
||||||
|
io_changed (); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_output->connected() && _soloed_by_others_downstream) {
|
if (!_output->connected() && _soloed_by_others_downstream) {
|
||||||
|
Loading…
Reference in New Issue
Block a user