diff options
author | David Robillard <d@drobilla.net> | 2006-10-15 05:48:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-15 05:48:24 +0000 |
commit | b70a15a81f9c76a465c651ff49b01b9747775c0a (patch) | |
tree | caf5509c49671c7b988f58118efdb7dc945a4d65 /src/AlsaDriver.cpp | |
parent | c887d78cf0eb591db7ec85b48b78fad377f00897 (diff) | |
download | patchage-b70a15a81f9c76a465c651ff49b01b9747775c0a.tar.gz patchage-b70a15a81f9c76a465c651ff49b01b9747775c0a.tar.bz2 patchage-b70a15a81f9c76a465c651ff49b01b9747775c0a.zip |
Fixed broken modules for certain aseq clients.
git-svn-id: http://svn.drobilla.net/lad/patchage@173 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
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<PatchageModule>(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<PatchageModule>( 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); } } } |