]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: fix the wrong count in compute_max_peak() for 16bit+ sample widths
authorJaroslav Kysela <perex@perex.cz>
Thu, 15 Oct 2020 11:12:37 +0000 (13:12 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 15 Oct 2020 11:14:39 +0000 (13:14 +0200)
commit246e132b802ba83a902b3b20f654151ee810850c
tree57e0fd71e55d6932107fa8a414e688923d1de2f2
parent860b851639f1674ad003114acc4a6c15fa94ab6e
aplay: fix the wrong count in compute_max_peak() for 16bit+ sample widths

The count argument was renamed to samples to correctly represent
the value meaning. Also, remove the wrong count recalculation lines
for 16-bit, 24-bit and 32-bit samples.

BugLink: https://github.com/alsa-project/alsa-utils/issues/57
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c