summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
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
}