initialize some uninitialized values
This commit is contained in:
parent
c212c16eb8
commit
b5a2b4e84e
@ -44,7 +44,7 @@ PeakMeter::PeakMeter (Session& s, const std::string& name)
|
|||||||
Iec2ppmdsp::init(s.nominal_frame_rate());
|
Iec2ppmdsp::init(s.nominal_frame_rate());
|
||||||
Vumeterdsp::init(s.nominal_frame_rate());
|
Vumeterdsp::init(s.nominal_frame_rate());
|
||||||
_pending_active = true;
|
_pending_active = true;
|
||||||
_active = true;
|
_meter_type = MeterPeak;
|
||||||
}
|
}
|
||||||
|
|
||||||
PeakMeter::~PeakMeter ()
|
PeakMeter::~PeakMeter ()
|
||||||
|
@ -121,7 +121,7 @@ FastMeter::FastMeter (long hold, unsigned long dimen, Orientation o, int len,
|
|||||||
request_width = pixrect.width + 2;
|
request_width = pixrect.width + 2;
|
||||||
request_height= pixrect.height + 2;
|
request_height= pixrect.height + 2;
|
||||||
|
|
||||||
queue_draw ();
|
clear ();
|
||||||
}
|
}
|
||||||
|
|
||||||
FastMeter::~FastMeter ()
|
FastMeter::~FastMeter ()
|
||||||
|
Loading…
Reference in New Issue
Block a user