diff options
author | Jan Ekström <jeebjp@gmail.com> | 2018-09-27 20:39:49 +0300 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-09-29 20:02:46 +0200 |
commit | fdc952486a8c0d6446783e424953fdb6097ed987 (patch) | |
tree | 8400b36841320dfd79a4d05a23fbf4681fc12077 /audio/chmap_sel.c | |
parent | 3218a5808229b06bd7e2d41a912e7e7031525d56 (diff) | |
download | mpv-fdc952486a8c0d6446783e424953fdb6097ed987.tar.bz2 mpv-fdc952486a8c0d6446783e424953fdb6097ed987.tar.xz |
ao_alsa: handle XRUNs separately from other errors
According to ALSA doxy, EPIPE is a synonym to SND_PCM_STATE_XRUN,
and that is a state that we should attempt to automatically recover
from. In case recovery fails, log an error and return zero.
A warning message will still be output for each XRUN since those
are not something we should generally be receiving.
Diffstat (limited to 'audio/chmap_sel.c')
0 files changed, 0 insertions, 0 deletions