You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, it seems this actually does sign extension on the data, so only the comment is wrong. 8-bits per sample (always unsigned) will be broken after sign extension though.
The code for unsigned to signed integer conversion is incorrect.
Paste this into console, and the result is wrong.
Moreover, according to stack overflow, greater than 8 bits per sample is already signed, so there is no need to do this conversion.
The text was updated successfully, but these errors were encountered: