Closed jendalinda closed 8 months ago
Audio samples converted to 8 bits may exceed the 0...255 range. The issue is caused by adding or subtracting 1 in attempt to round the values. Please add a check to limit the output sample values.
https://github.com/sirjuddington/SLADE/blob/fb10ce945040b4e1bfe03ec3bbb421df0888af52/src/MainEditor/Conversions.cpp#L174
Audio samples converted to 8 bits may exceed the 0...255 range. The issue is caused by adding or subtracting 1 in attempt to round the values. Please add a check to limit the output sample values.
https://github.com/sirjuddington/SLADE/blob/fb10ce945040b4e1bfe03ec3bbb421df0888af52/src/MainEditor/Conversions.cpp#L174