Add libswresample and libavresample support for sounds.