Fixed broken modules for certain aseq clients.

git-svn-id: http://svn.drobilla.net/lad@173 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
dave 2006-10-15 05:48:24 +00:00
parent 913678f835
commit d1e9f39f36
1 changed files with 2 additions and 5 deletions

View File

@ -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);
}
}
}