• 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
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 26.9 KB