Added resampler from https://github.com/grantgalitz/XAudioJS/blob/master/resampler.js