fixing UDP sound sync startup problems
sometimes sound sync only worked after disable + enable audioreactive. This hopefully improves the situation.
This commit is contained in:
@@ -1373,6 +1373,10 @@ class AudioReactive : public Usermod {
|
|||||||
USER_PRINTLN(F("AR: sound input driver initialized successfully."));
|
USER_PRINTLN(F("AR: sound input driver initialized successfully."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// try to start UDP
|
||||||
|
last_UDPTime = 0;
|
||||||
|
receivedFormat = 0;
|
||||||
|
delay(100);
|
||||||
if (enabled) connectUDPSoundSync();
|
if (enabled) connectUDPSoundSync();
|
||||||
initDone = true;
|
initDone = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user