Convert the audio sample format, sample rate and channel layout. It is not meant to be used directly.