diff options
Diffstat (limited to 'visualizer.h')
| -rw-r--r-- | visualizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/visualizer.h b/visualizer.h index 82d7a71d3..5375e0130 100644 --- a/visualizer.h +++ b/visualizer.h | |||
| @@ -106,6 +106,9 @@ extern GDisplay* LED_DISPLAY; | |||
| 106 | 106 | ||
| 107 | void start_keyframe_animation(keyframe_animation_t* animation); | 107 | void start_keyframe_animation(keyframe_animation_t* animation); |
| 108 | void stop_keyframe_animation(keyframe_animation_t* animation); | 108 | void stop_keyframe_animation(keyframe_animation_t* animation); |
| 109 | // This runs the next keyframe, but does not update the animation state | ||
| 110 | // Useful for crossfades for example | ||
| 111 | void run_next_keyframe(keyframe_animation_t* animation, visualizer_state_t* state); | ||
| 109 | 112 | ||
| 110 | // Some predefined keyframe functions that can be used by the user code | 113 | // Some predefined keyframe functions that can be used by the user code |
| 111 | // Does nothing, useful for adding delays | 114 | // Does nothing, useful for adding delays |
