take into account sample::end when resampling with libsamplerate
temorary remove mute xfades
fix issue with mute on-off