Samplerate fixes and samplerate_longer