fix the problem about PCM resample