[swipe] type change of samplerate: double -> int