aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-07-02 02:30:53 +0200
committerDavid Runge <dave@sleepmap.de>2016-07-02 02:30:53 +0200
commitba3aa2a417c6de50428e9a30b6b73d930e99b9d4 (patch)
tree187183d0f2dd0a533b59092a504ed43d9af4f3ee
parent7eeb8ce12cf515e3cc7811c469b86d94643cafcd (diff)
downloadbowelyzer-ba3aa2a417c6de50428e9a30b6b73d930e99b9d4.tar.gz
bowelyzer-ba3aa2a417c6de50428e9a30b6b73d930e99b9d4.tar.bz2
bowelyzer-ba3aa2a417c6de50428e9a30b6b73d930e99b9d4.tar.xz
bowelyzer-ba3aa2a417c6de50428e9a30b6b73d930e99b9d4.zip
BowelyzerOSCHub.sc: Adding local NetAddr to setupNetAddressesFromConfig and making it world-readable.
-rw-r--r--BowelyzerOSCHub.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/BowelyzerOSCHub.sc b/BowelyzerOSCHub.sc
index 263c346..580f236 100644
--- a/BowelyzerOSCHub.sc
+++ b/BowelyzerOSCHub.sc
@@ -1,5 +1,5 @@
BowelyzerOSCHub{
- var <hub, <forward, <synthServer, local;
+ var <hub, <forward, <synthServer, <local;
*new{
arg config;
@@ -16,7 +16,6 @@ BowelyzerOSCHub{
arg config;
this.setupNetAddressesFromConfig(config);
this.setupSynthListenersFromConfig(config);
- local = NetAddr.new("127.0.0.1", NetAddr.langPort);
}
setupNetAddressesFromConfig{
@@ -24,6 +23,7 @@ BowelyzerOSCHub{
forward = BowelyzerOSCHub.getNetAddr(config.at(\forwardAddress), config.at(\forwardPort));
hub = BowelyzerOSCHub.getNetAddr(config.at(\hubAddress), config.at(\hubPort));
synthServer = BowelyzerOSCHub.getNetAddr(config.at(\synthServerAddress), config.at(\synthServerPort));
+ local = NetAddr.new("127.0.0.1", NetAddr.langPort);
}
// setup OSCdef for SynthServerAddress:SynthServerPort