Move resampling back into AudioDecoder and fix various screw-ups with audio in the...