Use Speex for resampling and buffer