Max Kellermann 436ba3c96c output/alsa: drain the whole ring_buffer, not just one period
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.
2018-11-14 13:35:17 +01:00
..
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-11-12 12:09:02 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-11-12 12:49:01 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 14:30:34 +01:00
2018-07-17 23:02:53 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-24 20:25:32 +02:00
2018-10-24 20:25:32 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00