The LMS state is stored within QOA files using 16-bit integers, however qoa_lms_t uses 32-bit integers on most platforms. Some third-party implementations use 16-but integers for the currently loaded LMS state, and it would be nice to do so in general for reducing memory usage and possible performance improvements, but there is a possibility of the weights overflowing the range of a 16-bit integer, and the documentation is somewhat unclear about whether this is required behaviour or not.