| 350 | uint8_t currentTransition; |
| 351 | bool gotNewTransition = true; |
| 352 | TransitionType getRandomTransition() |
| 353 | { |
| 354 | // RANDOM is now index 0, so we add 1 to the result to ensure it's never selected |
| 355 | return static_cast<TransitionType>((rand() % (CROSSFADE)) + 1); |
| 356 | } |
| 357 | |
| 358 | bool swapped = false; |
| 359 |