• Max Kellermann's avatar
    output/alsa: drain the whole `ring_buffer`, not just one period · 436ba3c9
    Max Kellermann authored
    This fixes a problem which caused a failure with snd_pcm_writei()
    because snd_pcm_drain() had already been called in the previous
    iteration.  This commit makes sure that snd_pcm_drain() is only called
    after the final snd_pcm_writei() call.
    
    This fixes discarded samples at the end of playback.
    436ba3c9
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 69.2 KB