avdevice/alsa: wait until playback buffers are drained before closing
authorTakayuki 'January June' Suwa <jjsuwa.sys3175@gmail.com>
Sat, 6 May 2017 11:42:56 +0000 (20:42 +0900)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 21:54:26 +0000 (23:54 +0200)
commitea93b74074c509f59942c7ed4112ed3d64c3af33
tree8326d1ff816aa08ffa057fc7a18d018ddb9922cc
parent8a8335de030aa6cb6356bb16c7d3aefc5a80e362
avdevice/alsa: wait until playback buffers are drained before closing

This fixes early abort on ALSA playback

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavdevice/alsa.c