• Max Kellermann's avatar
    output/alsa: fill period buffer with silence before draining · 54033c74
    Max Kellermann authored
    ALSA passes full period buffers to the hardware.  If an application
    doesn't finish writing a period, libasound will nonetheless send the
    partial buffer (with undefined trailing data).  This causes noise at
    the end of playback.  This patch attempts to track the current
    position within the period buffer, and generates silence at the end,
    before calling snd_pcm_drain().
    54033c74
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...