projectM-visualizer/frontend-qt

fps limit in UI

Opened this issue · 3 comments

UI has maximum input of 99 for fps
but can be changed (and works) by changing the config in ~/.projectM/config.inp

I assume this is QT (the only app that has GUI settings configuration).

I looked at the code and this seems to be the design. Ideally the max should be the highest refresh rate of any monitor connected.

As a easy fix someone could edit projectm\src\projectM-qt\qprojectmconfigdialog.cpp and change:
_ui.maxFPSSpinBox->setValue(settings.fps);
to
_ui.maxFPSSpinBox->setValue(240);

240 Hz is the highest refresh rate I have heard of.

On a side note can QT be compiled in windows?

Theoretically... sure you can compile Qt for windows
I wouldn't assume OP means "Qt" by "UI"

Would be a good idea to ditch both the PulseAudio and JACK specializations and add Portaudio support instead, then the Qt UI would also work fine on Windows and macOS.