summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-07 20:16:49 +0000
committerDavid Robillard <d@drobilla.net>2008-09-07 20:16:49 +0000
commiteede1a188c2da2c926d49902f2b2c411774342af (patch)
tree6dfa7861c5bf21c1db5175e88249d28027bb16a7 /src/PatchageEvent.cpp
parent19b035f0f0a78d5906664e3080ff467413f20ec2 (diff)
downloadpatchage-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/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index a7a84be..06e85d5 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -58,12 +58,12 @@ PatchageEvent::execute(Patchage* patchage)
} else if (_type == PORT_CREATION) {
Driver* driver = NULL;
- if (_port_1.type == PatchageEvent::PortRef::JACK_ID) {
+ if (_port_1.type == PortID::JACK_ID) {
#if defined(HAVE_JACK) || defined(HAVE_JACK_DBUS)
driver = patchage->jack_driver();
#endif
#ifdef HAVE_ALSA
- } else if (_port_1.type == PatchageEvent::PortRef::ALSA_ADDR) {
+ } else if (_port_1.type == PortID::ALSA_ADDR) {
driver = patchage->alsa_driver();
#endif
}