wav: allow valid bits less than sample size