diff options
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound.c b/src/sound.c index 145100cd433..ac29fc1aa1e 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1147,6 +1147,7 @@ alsa_write (struct sound_device *sd, const char *buffer, ptrdiff_t nbytes) alsa_sound_perror ("Can't recover from underrun, prepare failed", err); } +#ifdef ESTRPIPE else if (err == -ESTRPIPE) { while ((err = snd_pcm_resume (p->handle)) == -EAGAIN) @@ -1160,6 +1161,7 @@ alsa_write (struct sound_device *sd, const char *buffer, ptrdiff_t nbytes) err); } } +#endif else alsa_sound_perror ("Error writing to sound device", err); |