Support both libswresample and libavresample for resampling; default to libswresample