Please sign in to comment.
Incorrectly assumed SF_FORMAT_* subtypes were flags.
In my patch for #971 I tried to enable clipping for formats that are not float and not vorbis (which is float by default) but checked them like they were flags. This caused clipping to never actually enable for formats whose submask contained at least one bit similar to either the float or vorbis type. This patch uses SF_FORMAT_SUBMASK and a straight comparison instead and should fix this issue.
- Loading branch information...