From b70a15a81f9c76a465c651ff49b01b9747775c0a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Oct 2006 05:48:24 +0000 Subject: Fixed broken modules for certain aseq clients. git-svn-id: http://svn.drobilla.net/lad/patchage@173 a436a847-0d15-0410-975c-d299462d15a1 --- src/AlsaDriver.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index eb93dac..ef2428a 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -184,7 +184,6 @@ AlsaDriver::refresh_ports() m = boost::shared_ptr(new PatchageModule(m_app, client_name, InputOutput)); m->load_location(); m->store_location(); - m_app->canvas()->add_module(m); } if (!m->get_port(port_name)) { @@ -216,7 +215,6 @@ AlsaDriver::refresh_ports() new PatchageModule(m_app, client_name, type)); m->load_location(); m->store_location(); - m_app->canvas()->add_module(m); } if (!m->get_port(port_name)) m->add_port(create_port(m, port_name, is_input, addr)); @@ -252,16 +250,15 @@ AlsaDriver::refresh_ports() if (!m) { m = boost::shared_ptr( new PatchageModule(m_app, client_name, type)); - m->load_location(); m->store_location(); } if (!m->get_port(port_name)) m->add_port(create_port(m, port_name, false, addr)); } - m->resize(); - m_app->canvas()->add_module(m); } + m->resize(); + m_app->canvas()->add_module(m); } } } -- cgit v1.2.1