Make the peak display automatically go back down for the max peaks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26698 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f9ae429701
commit
97d52f8e2a
@ -225,8 +225,10 @@ PeakView::Pulse()
|
||||
return;
|
||||
|
||||
if (!fPeakLocked) {
|
||||
fLastMaxL = 0.90 * fLastMaxL;
|
||||
if (fCurrentMaxL > fLastMaxL)
|
||||
fLastMaxL = fCurrentMaxL;
|
||||
fLastMaxR = 0.90 * fLastMaxR;
|
||||
if (fCurrentMaxR > fLastMaxR)
|
||||
fLastMaxR = fCurrentMaxR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user