Fix crash on very short wave files by setting min frames to at least 1