ffmpeg_player: support using libavresample to convert audio to the output device format