All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH alsa-utils 0/5] aplay: Fix bugs in peak calculations
Date: Tue, 24 Aug 2021 11:47:51 +0200	[thread overview]
Message-ID: <20210824094756.12540-1-tiwai@suse.de> (raw)

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


             reply	other threads:[~2021-08-24  9:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24  9:47 Takashi Iwai [this message]
2021-08-24  9:47 ` [PATCH alsa-utils 1/5] aplay: Fix conversion of unsigned samples in peak calculation Takashi Iwai
2021-08-24  9:47 ` [PATCH alsa-utils 2/5] aplay: Handle 16bit sample negative overflow in peak calculations Takashi Iwai
2021-08-24  9:47 ` [PATCH alsa-utils 3/5] aplay: Don't pass most negative integer to abs() " Takashi Iwai
2021-08-24  9:47 ` [PATCH alsa-utils 4/5] aplay: Handle upper bound " Takashi Iwai
2021-08-24  9:47 ` [PATCH alsa-utils 5/5] aplay: Fix out-of-bound access in stereo VU meter drawing Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210824094756.12540-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.