alsa-utils/alsaloop
Dragos Tarcatu 8572c0c427 alsaloop: Fix the silence generation in xrun_sync
The silence frames generation in xrun_sync() seems to be currently
a bit off as snd_pcm_format_set_silence() uses a wrong buffer address
and size for zero-ing out the data. Consequently instead of clearing
out the last frame(s), snd_pcm_format_set_silence() ends up silencing
samples somewhere else in the buffer. This is partilarly more obvious
for higher frame sizes (e.g. more than 2 channels).

This patch fixes this issue by correcting the parameters passed to
snd_pcm_format_set_silence().

BugLink: https://github.com/alsa-project/alsa-utils/pull/58
Signed-off-by: Dragos Tarcatu <dragos_tarcatu@mentor.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-25 15:21:15 +02:00
..
alsaloop.1 Several formatting fixes for manpages. 2013-05-16 10:38:13 +02:00
alsaloop.c Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
alsaloop.h Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
control.c Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
effect-sweep.c Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
Makefile.am Makefiles - use AM_CPPFLAGS instead INCLUDES 2014-05-07 10:55:59 +02:00
pcmjob.c alsaloop: Fix the silence generation in xrun_sync 2020-09-25 15:21:15 +02:00
test.sh alsaloop: fixes, added -W/--wake option 2010-10-14 11:17:25 +02:00