aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-02-22 08:12:09 -0800
committerChris Robinson <[email protected]>2016-02-22 08:12:09 -0800
commit2c6e59c4ca50f186d19e1fd95fe058ea352c8900 (patch)
tree1ccff210f13248570b8ab1fe046099a330711d93 /Alc/backends/alsa.c
parent840fa1b5e8fe8c677a3cb3ed1178c222848317e0 (diff)
Fix when ESTRPIPE and EPIPE are the same
Diffstat (limited to 'Alc/backends/alsa.c')
-rw-r--r--Alc/backends/alsa.c2
1 files changed, 2 insertions, 0 deletions
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);