From b6059e2255640b43552b388c8dddf72678148dcd Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 30 Oct 2009 01:04:17 +0100 Subject: [PATCH] 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. --- src/visualizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizer.cpp b/src/visualizer.cpp index c0487f23..e2b03a56 100644 --- a/src/visualizer.cpp +++ b/src/visualizer.cpp @@ -107,7 +107,7 @@ void Visualizer::Update() 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.EnableOutput(itsOutputID);