| 3703 | } |
| 3704 | |
| 3705 | bool ScriptingObjects::ScriptRoutingMatrix::removeConnection(int sourceIndex, int destinationIndex) |
| 3706 | { |
| 3707 | if (checkValidObject()) |
| 3708 | { |
| 3709 | if (auto r = dynamic_cast<RoutableProcessor*>(rp.get())) |
| 3710 | { |
| 3711 | return r->getMatrix().removeConnection(sourceIndex, destinationIndex); |
| 3712 | } |
| 3713 | else |
| 3714 | return false; |
| 3715 | } |
| 3716 | |
| 3717 | return false; |
| 3718 | } |
| 3719 | |
| 3720 | void ScriptingObjects::ScriptRoutingMatrix::clear() |
| 3721 | { |