use redesigned Route and VCA object architecture/API
This commit is contained in:
parent
406e9d05ce
commit
aee283f056
@ -282,10 +282,9 @@ ControlProtocol::route_get_peak_input_power (uint32_t table_index, uint32_t whic
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
return r->peak_meter().meter_level (which_input, MeterPeak);
|
||||
return r->peak_meter()->meter_level (which_input, MeterPeak);
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
ControlProtocol::route_get_muted (uint32_t table_index)
|
||||
{
|
||||
|
@ -1227,7 +1227,7 @@ Strip::update_meter ()
|
||||
}
|
||||
|
||||
if (_meter && _transport_is_rolling && _metering_active) {
|
||||
float dB = const_cast<PeakMeter&> (_route->peak_meter()).meter_level (0, MeterMCP);
|
||||
float dB = _route->peak_meter()->meter_level (0, MeterMCP);
|
||||
_meter->send_update (*_surface, dB);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user