26
I have been encountering this error for my project, which involves working with Digital Audio Signals.
So I have been getting the amplitude values and recently encountered this error. This occurs when the amplitude value encountered is "-32768" upon debugging. I am storing the values in a short[] array.
I have a hunch that it has something to do with max/minimum values (I use Math.Abs) but I am unsure on how to handle it.
Can someone help? Thanks!