]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: Fix conversion of unsigned samples in peak calculation
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Aug 2021 07:00:40 +0000 (09:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Aug 2021 07:51:39 +0000 (09:51 +0200)
commit0ea7bfea83d97fefd18845948350322017a865c2
tree39bb579cb4910b06a2f342a6566801f923f15872
parentce05208085fe09a53113a99cf709459bfa2d37d4
aplay: Fix conversion of unsigned samples in peak calculation

The XOR with the mask has to be applied before calculating abs value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
aplay/aplay.c