Fixed problem with wrong rate resampling (e.g., Opus and G.711)