summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-12 18:13:03 +0000
committerDavid Robillard <d@drobilla.net>2007-03-12 18:13:03 +0000
commit47372f00cc6fe39f65594aa6edf6544157e94ce7 (patch)
treee1c7a9b1b3d6fe07631a05f3410ea2fa4b21e193 /src/AlsaDriver.cpp
parent2834b233eedf0c66f65ac8169264d8359d8fc7c6 (diff)
downloadpatchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.tar.gz
patchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.tar.bz2
patchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.zip
Removed name-based interface for FlowCanvas (using the view as a model = evil), related performance improvements (especially for Machina).
Updates for FlowCanvas API changes. Machina SMF import performance improvements (temporarily disabled node labels). git-svn-id: http://svn.drobilla.net/lad/patchage@356 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index b9d6a48..5a11b67 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -274,9 +274,9 @@ AlsaDriver::refresh_connections()
boost::shared_ptr<PatchageModule> m;
boost::shared_ptr<PatchagePort> p;
- for (ItemMap::iterator i = _app->canvas()->items().begin();
+ for (ItemList::iterator i = _app->canvas()->items().begin();
i != _app->canvas()->items().end(); ++i) {
- m = boost::dynamic_pointer_cast<PatchageModule>((*i).second);
+ m = boost::dynamic_pointer_cast<PatchageModule>(*i);
if (m) {
for (PortVector::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) {
p = boost::dynamic_pointer_cast<PatchagePort>(*j);