mbox series

[alsa-utils,0/5] aplay: Fix bugs in peak calculations

Message ID 20210824094756.12540-1-tiwai@suse.de (mailing list archive)
Headers show
Series aplay: Fix bugs in peak calculations | expand

Message

Takashi Iwai Aug. 24, 2021, 9:47 a.m. UTC
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(-)