summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/shader_cache.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2018-09-27 20:39:49 +0300
committersfan5 <sfan5@live.de>2018-09-29 20:02:46 +0200
commitfdc952486a8c0d6446783e424953fdb6097ed987 (patch)
tree8400b36841320dfd79a4d05a23fbf4681fc12077 /video/out/gpu/shader_cache.c
parent3218a5808229b06bd7e2d41a912e7e7031525d56 (diff)
downloadmpv-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 'video/out/gpu/shader_cache.c')
0 files changed, 0 insertions, 0 deletions