use audioframe_t in more places
fix readPeakRms: consider sample rate conversion
cleanup