pub type SampleReader = fn(buffer: &[u8], offset: usize, little_endian: bool) -> f64;
Internal interface for sample reader