tsoding / musializer

Music Visualizer
MIT License
877 stars 92 forks source link

Unlock fps during video rendering #104

Open Weypare opened 5 months ago

Weypare commented 5 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.