From 513eaa5f362763135a2849bd7f814d2ed8552484 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 28 Aug 2014 18:39:41 -0700 Subject: [PATCH] Basic UI: Reduce audio meter mute timing threshold Some devices burst their audio (such as when querying audio from directshow), and the 250 millisecond threshold that sets the audio meter back to muted status would erroneously cause the meter to appear bounce back between muted and unmuted. Instead, a one second test should be sufficient time to prevent that from happening. --- obs/volume-control.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obs/volume-control.cpp b/obs/volume-control.cpp index 24bebdd31..cd3785eca 100644 --- a/obs/volume-control.cpp +++ b/obs/volume-control.cpp @@ -202,8 +202,7 @@ void VolumeMeter::setLevels(float nmag, float npeak, float npeakHold) if (resetTimer->isActive()) resetTimer->stop(); - resetTimer->start(250); - + resetTimer->start(1000); } void VolumeMeter::paintEvent(QPaintEvent *event)