diff options
author | David Robillard <d@drobilla.net> | 2008-09-07 20:16:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-07 20:16:49 +0000 |
commit | eede1a188c2da2c926d49902f2b2c411774342af (patch) | |
tree | 6dfa7861c5bf21c1db5175e88249d28027bb16a7 /src/AlsaDriver.cpp | |
parent | 19b035f0f0a78d5906664e3080ff467413f20ec2 (diff) | |
download | patchage-eede1a188c2da2c926d49902f2b2c411774342af.tar.gz patchage-eede1a188c2da2c926d49902f2b2c411774342af.tar.bz2 patchage-eede1a188c2da2c926d49902f2b2c411774342af.zip |
Separate PortRef (now PortID) from PatchageEvent.
git-svn-id: http://svn.drobilla.net/lad/patchage@1477 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 1662471..cb58c6a 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -103,8 +103,8 @@ AlsaDriver::refresh() boost::shared_ptr<PatchagePort> -AlsaDriver::create_port_view(Patchage* patchage, - const PatchageEvent::PortRef& ref) +AlsaDriver::create_port_view(Patchage* patchage, + const PortID& id) { return boost::shared_ptr<PatchagePort>(); } @@ -348,8 +348,8 @@ AlsaDriver::add_connections(boost::shared_ptr<PatchagePort> port) if (!connected_addr) continue; - PatchageEvent::PortRef ref(*connected_addr, true); - connected_port = _app->canvas()->find_port(ref); + PortID id(*connected_addr, true); + connected_port = _app->canvas()->find_port(id); if (connected_port && !port->is_connected_to(connected_port)) _app->canvas()->add_connection(port, connected_port, port->color() + 0x22222200); |