Browse Source

Update rtosc

tags/1.9.7
falkTX 9 years ago
parent
commit
5dd8fc8fe4
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      source/native-plugins/zynaddsubfx/rtosc/cpp/ports.cpp
  2. +1
    -1
      source/native-plugins/zynaddsubfx/rtosc/port-sugar.h

+ 2
- 1
source/native-plugins/zynaddsubfx/rtosc/cpp/ports.cpp View File

@@ -568,7 +568,8 @@ const Port *Ports::apropos(const char *path) const

//This is the lowest level, now find the best port
for(const Port &port: ports)
if(*path && strstr(port.name, path)==port.name)
if(*path && (strstr(port.name, path)==port.name ||
rtosc_match_path(port.name, path)))
return &port;

return NULL;


+ 1
- 1
source/native-plugins/zynaddsubfx/rtosc/port-sugar.h View File

@@ -259,9 +259,9 @@ template<class T> constexpr T spice(T*t) {return *t;}
} else { \
if(obj->name != rtosc_argument(msg, 0).T) { \
data.broadcast(loc, args);\
obj->name = rtosc_argument(msg, 0).T; \
rChangeCb \
} \
obj->name = rtosc_argument(msg, 0).T; \
} rBOIL_END

#define SNIP \


Loading…
Cancel
Save