pub fn mono_bars(
hist: &AudioHistogram,
layout: &WaveformLayout,
) -> Vec<WaveformBarRect>Expand description
Layout one mono histogram into a list of bar rectangles.
ยงPanics
Panics if layout.bar_width <= 0 or layout.max_height <= 0. Both
are caller errors that would produce degenerate geometry.