pub fn switch_per_sample<I: IntoIterator<Item = TimedValue<bool>, IntoIter: Clone>>(
state: SwitchBufferState<I>,
) -> impl Iterator<Item = bool> + CloneExpand description
Converts a SwitchBufferState into a per-sample iterator.
This provides the value of the parameter at each sample in the buffer. Note: for constant values, this returns an infinite iterator.