
24 Aug
2021
24 Aug
'21
12:47 p.m.
The code in aplay for sample peak calculations and VU-meter representation seems to have a lot of bugs. Let's fix them.
Takashi
===
Takashi Iwai (5): aplay: Fix conversion of unsigned samples in peak calculation aplay: Handle 16bit sample negative overflow in peak calculations aplay: Don't pass most negative integer to abs() in peak calculations aplay: Handle upper bound in peak calculations aplay: Fix out-of-bound access in stereo VU meter drawing
aplay/aplay.c | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-)
--
2.26.2