Audacity 3.2.0
UpwardMeterValueProvider.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 UpwardMeterValueProvider.cpp
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
12
14 : mDownwardProvider { 80.f }
15{
16}
17
18void UpwardMeterValueProvider::Update(float value, bool alsoFiveSecondMax)
19{
20 mDownwardProvider.Update(-value, alsoFiveSecondMax);
21}
22
24{
26}
27
29{
31}
32
34{
36}
37
39{
40 return Direction::Upwards;
41}
42
44{
46}
void Update(float value, bool alsoFiveSecondMax) override
float GetCurrentMax() const override
Direction GetDirection() const override
float GetFiveSecMax() const override
void Update(float value, bool alsoFiveSecondMax) override
float GetGlobalMax() const override
DownwardMeterValueProvider mDownwardProvider