initialize two more uninitialized vars..
This commit is contained in:
parent
cc6a31c972
commit
f977b55cee
@ -65,6 +65,8 @@ MeterStrip::MeterStrip (int metricmode, MeterType mt)
|
|||||||
level_meter = 0;
|
level_meter = 0;
|
||||||
_strip_type = 0;
|
_strip_type = 0;
|
||||||
_tick_bar = 0;
|
_tick_bar = 0;
|
||||||
|
_metricmode = -1;
|
||||||
|
metric_type = MeterPeak;
|
||||||
mtr_vbox.set_spacing(2);
|
mtr_vbox.set_spacing(2);
|
||||||
nfo_vbox.set_spacing(2);
|
nfo_vbox.set_spacing(2);
|
||||||
peakbx.set_size_request(-1, 14);
|
peakbx.set_size_request(-1, 14);
|
||||||
@ -123,6 +125,8 @@ MeterStrip::MeterStrip (Session* sess, boost::shared_ptr<ARDOUR::Route> rt)
|
|||||||
|
|
||||||
_has_midi = false;
|
_has_midi = false;
|
||||||
_tick_bar = 0;
|
_tick_bar = 0;
|
||||||
|
_metricmode = -1;
|
||||||
|
metric_type = MeterPeak;
|
||||||
|
|
||||||
int meter_width = 6;
|
int meter_width = 6;
|
||||||
if (_route->shared_peak_meter()->input_streams().n_total() == 1) {
|
if (_route->shared_peak_meter()->input_streams().n_total() == 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user