projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2623b22
)
OSC amend access_action with action in line to ignore if param is 0
author
Len Ovens
<len@ovenwerks.net>
Wed, 15 Mar 2017 16:20:42 +0000
(09:20 -0700)
committer
Len Ovens
<len@ovenwerks.net>
Wed, 15 Mar 2017 16:20:42 +0000
(09:20 -0700)
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index 20bf44997f99157f482eefe03e9249405fb39fd6..3f5721b0d38809989408db95aa71aba920d594c6 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-868,10
+868,12
@@
OSC::catchall (const char *path, const char* types, lo_arg **argv, int argc, lo_
ret = 0;
} else
if (!strncmp (path, "/access_action/", 15)) {
- std::string action_path = path;
+ if (!(argc && !argv[0]->i)) {
+ std::string action_path = path;
- access_action (action_path.substr(15));
- std::cout << "access_action path = " << action_path.substr(15) << "\n";
+ access_action (action_path.substr(15));
+ std::cout << "access_action path = " << action_path.substr(15) << "\n";
+ }
ret = 0;
} else