提交 513eaa5f 编写于 作者: J jp9000

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.
上级 f50aa5e0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册