StigLau/vdvil

Implement state machine for rendering instructions

Closed this issue · 1 comments

During multiple test-running, The lyrics+image rendering panels can continue showing while other new music is played, indicating that they should have been closed before.
This is because no stop signal is sent

Recommended solution is to implement a state machine for Renderers and instructions to hold what state they are in and which states they can transition to.

Ex:
Renderer:
Initializing
Started
Shutting down
Stopped

Instruction
Initialized
Cached
Playing
Stopped

Not prioritized