diff options
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 79ff93b..773fba9 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -114,13 +114,13 @@ JackDriver::detach() void JackDriver::destroy_all() { - FlowCanvas::ItemList modules = _app->canvas()->items(); // copy - for (FlowCanvas::ItemList::iterator m = modules.begin(); m != modules.end(); ++m) { + FlowCanvas::Canvas::Items modules = _app->canvas()->items(); // copy + for (FlowCanvas::Canvas::Items::iterator m = modules.begin(); m != modules.end(); ++m) { SharedPtr<FlowCanvas::Module> module = PtrCast<FlowCanvas::Module>(*m); if (!module) continue; - FlowCanvas::PortVector ports = module->ports(); // copy - for (FlowCanvas::PortVector::iterator p = ports.begin(); p != ports.end(); ++p) { + FlowCanvas::Module::Ports ports = module->ports(); // copy + for (FlowCanvas::Module::Ports::iterator p = ports.begin(); p != ports.end(); ++p) { boost::shared_ptr<PatchagePort> port = boost::dynamic_pointer_cast<PatchagePort>(*p); if ((port && port->type() == JACK_AUDIO) || (port->type() == JACK_MIDI)) { module->remove_port(port); |