diff options
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 7e73de6..b0b5ae8 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -186,11 +186,11 @@ JackDriver::create_port(PatchageModule& parent, jack_port_t* port, PortID id) const char* const type_str = jack_port_type(port); char* pretty_name = NULL; - char* datatype = NULL; PortType port_type; #ifdef HAVE_JACK_METADATA - const jack_uuid_t uuid = jack_port_uuid(port); + char* datatype = NULL; + const jack_uuid_t uuid = jack_port_uuid(port); jack_get_property(uuid, JACK_METADATA_PRETTY_NAME, &pretty_name, &datatype); #endif |