Fix duplicated case value of ESTRPIPE on BSD

This commit is contained in:
papadave66
2021-09-08 16:05:15 +08:00
committed by evpobr
parent b891998f18
commit 322708914c
+2
View File
@@ -328,10 +328,12 @@ alsa_write_float (snd_pcm_t *alsa_dev, float *data, int frames, int channels)
return 0 ;
break ;
#if defined ESTRPIPE && ESTRPIPE != EPIPE
case -ESTRPIPE :
fprintf (stderr, "alsa_write_float: Suspend event.n") ;
return 0 ;
break ;
#endif
case -EIO :
puts ("alsa_write_float: EIO") ;