]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: fix the capture file length regression
authorJaroslav Kysela <perex@perex.cz>
Wed, 3 Aug 2022 20:09:45 +0000 (22:09 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 Aug 2022 20:10:05 +0000 (22:10 +0200)
commit6ee086363a62c9692787860c1edf4f618ad1575a
tree8e35826715e3f693c6790a5a52fb757f30d22b6e
parenta566f8a0ed6d7ca5fd6ae2d224f3f28654a2f3be
aplay: fix the capture file length regression

The commit 4b959a4 ("aplay: Fix for arecord recording ghost data")
intruduced a regression (file may contain more samples than
expected). Correct this.

Fixes: https://github.com/alsa-project/alsa-utils/issues/163
Fixes: 4b959a4 ("aplay: Fix for arecord recording ghost data")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c