diff options
author | Jan Ekström <jeebjp@gmail.com> | 2020-11-04 23:43:27 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-11-09 16:12:49 +0100 |
commit | 8ddd4547fc2d3b813c88b586cf8a579bff4afa4f (patch) | |
tree | 73ec590fd73d923f0d8841ea9aef60c949114234 /video/out | |
parent | 976fcf57c17da91e37be781cb86664d4510bbe4e (diff) | |
download | mpv-8ddd4547fc2d3b813c88b586cf8a579bff4afa4f.tar.bz2 mpv-8ddd4547fc2d3b813c88b586cf8a579bff4afa4f.tar.xz |
ao_alsa: handle -EPIPE XRUNs from snd_pcm_status
Set pcm state to SND_PCM_STATE_XRUN in case -EPIPE is received,
and handle this state as per the usual logic.
This way snd_pcm_prepare gets called, and the loop continued.
Inspired by a patch posted by malc_ on #mpv.
Diffstat (limited to 'video/out')
0 files changed, 0 insertions, 0 deletions