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
2013-01-30 21:47:12 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 19:19:07 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-11-04 22:36:17 +01:00
2018-10-31 17:54:59 +01:00
2018-11-14 12:11:57 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-14 23:41:38 +02:00
2018-11-11 12:37:29 +01:00
2018-10-14 23:41:38 +02:00
2018-11-11 12:55:35 +01:00
2018-11-11 12:37:29 +01:00
2018-10-31 17:54:59 +01:00
2018-11-02 17:47:43 +01:00
2018-11-14 13:35:17 +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-11-02 16:50:38 +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-04 11:12:03 +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-05 21:25: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-08-19 23:08:23 +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 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-11-14 12:07:22 +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-09-21 17:11:52 +02:00
2018-09-21 19:05:25 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-06-22 23:11:52 +02:00
2018-06-22 23:11:52 +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-01-30 00:05:57 +01:00
2018-01-30 00:05:57 +01:00
2018-01-30 00:05:57 +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-07-17 23:40:14 +02:00
2018-07-17 23:40:14 +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