MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / update_meters

Method update_meters

examples/sampler_test/src/system.rs:212–220  ·  view source on GitHub ↗
(&mut self, delta_seconds: f32)

Source from the content-addressed store, hash-verified

210 }
211
212 pub fn update_meters(&mut self, delta_seconds: f32) {
213 self.peak_meter_smoother.update(
214 self.cx
215 .node_state::<PeakMeterState<2>>(self.peak_meter_id)
216 .unwrap()
217 .peak_gain_db(DEFAULT_MIN_DB),
218 delta_seconds,
219 );
220 }
221
222 pub fn peak_meter_values(&self) -> [f32; 2] {
223 self.peak_meter_smoother

Callers 1

updateMethod · 0.80

Calls 2

peak_gain_dbMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected