From 2c6e59c4ca50f186d19e1fd95fe058ea352c8900 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 22 Feb 2016 08:12:09 -0800 Subject: Fix when ESTRPIPE and EPIPE are the same --- Alc/backends/alsa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/backends') diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c index 43c46484..b5715e18 100644 --- a/Alc/backends/alsa.c +++ b/Alc/backends/alsa.c @@ -588,7 +588,9 @@ static int ALCplaybackAlsa_mixerNoMMapProc(void *ptr) { case -EAGAIN: continue; +#if ESTRPIPE != EPIPE case -ESTRPIPE: +#endif case -EPIPE: case -EINTR: ret = snd_pcm_recover(self->pcmHandle, ret, 1); -- cgit v1.2.3