Audio format conversion using Ffmpeg swresample.

EDIT3: Audio format conversion.  FFmpeg libswresample (or libavresample as a temporary workaround) is required.
This part I should be able to move to another file.