diff options
author | David Robillard <d@drobilla.net> | 2015-10-06 23:33:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-06 23:33:24 +0000 |
commit | 67f194816923b7ebab41a2bda09fa4e0d85532f7 (patch) | |
tree | dfd90422ae37159fffb38b26e775d5655a8588d3 | |
parent | 34c2bdc6f70113f826cd97ef2aaeb38f2310cd97 (diff) | |
download | patchage-67f194816923b7ebab41a2bda09fa4e0d85532f7.tar.gz patchage-67f194816923b7ebab41a2bda09fa4e0d85532f7.tar.bz2 patchage-67f194816923b7ebab41a2bda09fa4e0d85532f7.zip |
Fix compilation with Jack metadata
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5749 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/JackDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 2ec8632..a949c7f 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -207,8 +207,8 @@ JackDriver::create_port(PatchageModule& parent, jack_port_t* port, PortID id) #ifdef HAVE_JACK_METADATA const jack_uuid_t uuid = jack_port_uuid(port); - const std::string label = get_property(uuid, JACK_METADATA_PRETTY_NAME); const std::string order_str = get_property(uuid, JACKEY_ORDER); + label = get_property(uuid, JACK_METADATA_PRETTY_NAME); if (!order_str.empty()) { order = atoi(order_str.c_str()); } |