(experimental) loop2 to get fresh audio just before drawing

* introducing usermod::loop2() - runs just before strip.service()
--> expecting to reduce lagging between audio and visual to an absolute minimum.
This commit is contained in:
Frank
2024-09-21 20:41:05 +02:00
parent e100a2d69a
commit f1088bb5c0
5 changed files with 22 additions and 1 deletions

View File

@@ -2352,6 +2352,11 @@ class AudioReactive : public Usermod {
#endif
}
#if defined(_MoonModules_WLED_) && defined(WLEDMM_FASTPATH)
void loop2(void) {
loop();
}
#endif
bool getUMData(um_data_t **data)
{