pub fn differences_to_samples(buffer: &mut [u8])
Integrate over all differences to the previous value in order to reconstruct sample values.