tsoding / musializer

Music Visualizer
MIT License
953 stars 100 forks source link

Unlock fps during video rendering #104

Open Weypare opened 8 months ago

Weypare commented 8 months ago

If the visualization frame is rendered faster than the frametime, the main application loop will sleep until the next draw frame. Unlocking the framerate during video rendering will enable faster renders.

Ideally, instead of using MUSIALIZER_TARGET_FPS in plug.c we would query target fps from Raylib, but it doesn't provide such api.