mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
OSC amend access_action with action in line to ignore if param is 0
This commit is contained in:
parent
2623b227d5
commit
175027fb6c
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue