Add a resampler to the processing chain when needed. port the audio resampler to the new audioconverter library