change the way to use speex.