Do resampling in AudioDecoder rather than Player.