You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boolallocateData(size_t len);// allocates effect data buffer in heap and clears it
547
+
voiddeallocateData(void);// deallocates (frees) effect data buffer from heap
548
+
voidresetIfRequired(void);// sets all SEGENV variables to 0 and clears data buffer
549
549
/**
550
550
* Flags that before the next effect is calculated,
551
551
* the internal segment state should be reset.
@@ -559,10 +559,10 @@ typedef struct Segment {
559
559
voidstopTransition(void);
560
560
voidhandleTransition(void);
561
561
#ifndef WLED_DISABLE_MODE_BLEND
562
-
voidswapSegenv(tmpsegd_t &tmpSegD);
563
-
voidrestoreSegenv(tmpsegd_t &tmpSegD);
562
+
voidswapSegenv(tmpsegd_t &tmpSegD);// copies segment data into specifed buffer, if buffer is not a transition buffer, segment data is overwritten from transition buffer
563
+
voidrestoreSegenv(tmpsegd_t &tmpSegD);// restores segment data from buffer, if buffer is not transition buffer, changed values are copied to transition buffer
564
564
#endif
565
-
uint16_tprogress(void); //transition progression between 0-65535
565
+
uint16_tprogress(void); //transition progression between 0-65535
sOpt = extractModeDefaults(fx, "m12"); if (sOpt >= 0) map1D2D = constrain(sOpt, 0, 7); else map1D2D = M12_Pixels; // reset mapping if not defined (2D FX may not work)
sOpt = extractModeDefaults(fx, "m12"); if (sOpt >= 0) map1D2D = constrain(sOpt, 0, 7); else map1D2D = M12_Pixels; // reset mapping if not defined (2D FX may not work)
0 commit comments