Use newer Sndfile API and check audio specs