All of lore.kernel.org
 help / color / mirror / Atom feed
* alsaloop: Fix the silence generation in xrun_sync
       [not found] <1601037137265247107-webhooks-bot@alsa-project.org>
@ 2020-09-25 12:32 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2020-09-25 12:32 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-utils pull request #58 was opened from dragosht:

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 size (e.g. when using more than 2 channels).

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

Signed-off-by: Dragos Tarcatu <dragos_tarcatu@mentor.com>

Request URL   : https://github.com/alsa-project/alsa-utils/pull/58
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/58.patch
Repository URL: https://github.com/alsa-project/alsa-utils

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-25 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1601037137265247107-webhooks-bot@alsa-project.org>
2020-09-25 12:32 ` alsaloop: Fix the silence generation in xrun_sync GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.