yanking libresample and enabling user to change samplerate