WebSockets: hotfix crash when a session has VCAs
This eventually needs a better solution, special casing VCAs on the top-level.
This commit is contained in:
parent
674554d978
commit
c32fef2660
@ -201,6 +201,9 @@ ArdourStrips::strip_plugin_insert (uint32_t strip_n, uint32_t plugin_n) const
|
||||
{
|
||||
boost::shared_ptr<Stripable> strip = nth_strip (strip_n);
|
||||
boost::shared_ptr<Route> route = boost::dynamic_pointer_cast<Route> (strip);
|
||||
if (!route) {
|
||||
return boost::shared_ptr<PluginInsert> ();
|
||||
}
|
||||
boost::shared_ptr<Processor> processor = route->nth_plugin (plugin_n);
|
||||
|
||||
if (processor) {
|
||||
|
Loading…
Reference in New Issue
Block a user