score icon indicating copy to clipboard operation
score copied to clipboard

Issue with port registering in ExecutionSetup

Open jcelerier opened this issue 4 years ago • 0 comments

  auto& runtime_connection = runtime_connections[node].inlets;
  auto& con = runtime_connection[proc_port.id()]; // < here, may be overwritten by a child inlet of an output port, e.g. gain / pan. 
  QObject::disconnect(con); // < thus this disconnects the old one here => bug
  con = connect(
      &proc_port,
      &Process::Port::addressChanged,
      this,
      [this, ossia_port](const State::AddressAccessor& address) {
        set_destination(address, ossia_port);
      });

jcelerier avatar Sep 25 '21 15:09 jcelerier