]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: Fix for arecord recording ghost data
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 5 May 2022 11:08:33 +0000 (13:08 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 May 2022 12:09:29 +0000 (14:09 +0200)
commit4b959a447aa1e9ce8d0076fc59fa71ff15f025c3
treeb70951ddfd8c134829cbe1c0fa3ef732c2d94b3f
parentbbc74a61ac7c35e506c3d7f76ecf943cb55736a6
aplay: Fix for arecord recording ghost data

When recording we should only write the amount of data read to output
file instead of copying whole buffer. This fixes glitches appearing at
the end of recorded file, when stopping recording.

Fixes: https://github.com/alsa-project/alsa-utils/pull/150
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsaucm/go.sh
aplay/aplay.c