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
In the example code "rnnoise_demo", the float output is converted to a short with a simple cast
I found by experimentation that the output can be outside of int16 range, so the output should be clamped to prevent clicky noises when the input has values near the int16's min or max
The text was updated successfully, but these errors were encountered:
But i'm afraid that it's could prevent some compiler optimization,
(Actually using compiler explorer it seems that there's still some intrinsic instruction used so it should be fine)
It still doesn't seems right to do
if someone have a better solution, it could be nice (also i'm not even sure this is always the best thing to do for any cases)
In the example code "rnnoise_demo", the float output is converted to a short with a simple cast
I found by experimentation that the output can be outside of int16 range, so the output should be clamped to prevent clicky noises when the input has values near the int16's min or max
The text was updated successfully, but these errors were encountered: