diff options
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index ce9cd48..abff4b8 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -56,12 +56,12 @@ PatchageEvent::execute(Patchage* patchage) } else if (_type == Type::port_creation) { Driver* driver = nullptr; - if (_port_1.type == PortID::Type::jack_id) { + if (_port_1.type() == PortID::Type::jack) { #if defined(PATCHAGE_LIBJACK) || defined(HAVE_JACK_DBUS) driver = patchage->jack_driver(); #endif #ifdef HAVE_ALSA - } else if (_port_1.type == PortID::Type::alsa_addr) { + } else if (_port_1.type() == PortID::Type::alsa) { driver = patchage->alsa_driver(); #endif } |