use SRC_SINC_MEDIUM_QUALITY by default