13
0

OSC: set global variables in global space - crash fix

This commit is contained in:
Len Ovens 2016-08-21 14:15:54 -07:00
parent 444497b571
commit 1cfd8b2203

View File

@ -37,10 +37,10 @@ OSCGlobalObserver::OSCGlobalObserver (Session& s, lo_address a, uint32_t gm, std
: gainmode (gm) : gainmode (gm)
,feedback (fb) ,feedback (fb)
{ {
addr = lo_address_new (lo_address_get_hostname(a) , lo_address_get_port(a));
session = &s;
_last_frame = -1;
if (feedback[4]) { if (feedback[4]) {
addr = lo_address_new (lo_address_get_hostname(a) , lo_address_get_port(a));
session = &s;
_last_frame = -1;
// connect to all the things we want to send feed back from // connect to all the things we want to send feed back from