diff options
author | David Robillard <d@drobilla.net> | 2008-01-09 02:39:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-09 02:39:37 +0000 |
commit | 982e2e0d0d0aebadf5e1878e6f812a65d3da6d34 (patch) | |
tree | 478afcf9e0644a8ed9c979f9655ae5e00faf6654 /src/JackDriver.cpp | |
parent | 4eee416f717d25948548652144ae4ac7317323f6 (diff) | |
download | patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.tar.gz patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.tar.bz2 patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.zip |
Patchage refresh performance improvements
git-svn-id: http://svn.drobilla.net/lad/patchage@1041 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 03284d9..7a3e66d 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -206,8 +206,6 @@ JackDriver::refresh() string client2_name; string port2_name; - set<SharedPtr<PatchageModule> > resized_modules; - // Add all ports if (ports) for (int i=0; ports[i]; ++i) { @@ -262,8 +260,6 @@ JackDriver::refresh() if (!m->get_port(jack_port_short_name(port))) { m->add_port(create_port(m, port)); } - - resized_modules.insert(m); } // Add all connections @@ -325,10 +321,6 @@ JackDriver::refresh() free(connected_ports); } } - - for (set<SharedPtr<PatchageModule> >::const_iterator i = resized_modules.begin(); - i != resized_modules.end(); ++i) - (*i)->resize(); free(ports); } |