visualizer: set interval between "synchronizations" to sane value
ugh, I set it to 5 seconds for testing purposes and then forgot to change it back ~~ it should be at least 120 seconds.
This commit is contained in:
@@ -107,7 +107,7 @@ void Visualizer::Update()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (itsOutputID != -1 && Global::Timer.tv_sec > itsTimer.tv_sec+5)
|
if (itsOutputID != -1 && Global::Timer.tv_sec > itsTimer.tv_sec+120)
|
||||||
{
|
{
|
||||||
Mpd.DisableOutput(itsOutputID);
|
Mpd.DisableOutput(itsOutputID);
|
||||||
Mpd.EnableOutput(itsOutputID);
|
Mpd.EnableOutput(itsOutputID);
|
||||||
|
|||||||
Reference in New Issue
Block a user