Function dsp::sample::buffer::map_in_place []

pub fn map_in_place<S, F>(a: &mut [S], map: F) where F: FnMut(S) -> S, S: Sample

Mutate every element in the buffer with the given function.