mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
Removed unused variable (current_user_level) from FastMeter.
git-svn-id: svn://localhost/ardour2/trunk@1664 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6532413fa6
commit
c971cafbed
3 changed files with 3 additions and 5 deletions
|
|
@ -50,7 +50,6 @@ FastMeter::FastMeter (long hold, unsigned long dimen, Orientation o)
|
|||
hold_state = 0;
|
||||
current_peak = 0;
|
||||
current_level = 0;
|
||||
current_user_level = -100.0f;
|
||||
|
||||
set_events (BUTTON_PRESS_MASK|BUTTON_RELEASE_MASK);
|
||||
|
||||
|
|
@ -413,10 +412,9 @@ FastMeter::horizontal_expose (GdkEventExpose* ev)
|
|||
}
|
||||
|
||||
void
|
||||
FastMeter::set (float lvl, float usrlvl)
|
||||
FastMeter::set (float lvl)
|
||||
{
|
||||
current_level = lvl;
|
||||
current_user_level = usrlvl;
|
||||
|
||||
if (lvl > current_peak) {
|
||||
current_peak = lvl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue