core/soundcvt: add resampling support