diff src/sunplay.c @ 380:8626e4521993 r21-2-5

Import from CVS: tag r21-2-5
author cvs
date Mon, 13 Aug 2007 11:07:10 +0200
parents c5d627a313b1
children 74fd4e045ea6
line wrap: on
line diff
--- a/src/sunplay.c	Mon Aug 13 11:06:08 2007 +0200
+++ b/src/sunplay.c	Mon Aug 13 11:07:10 2007 +0200
@@ -61,7 +61,7 @@
 
 static int audio_fd;
 
-#define audio_open()	open ("/dev/audio", (O_WRONLY | O_NDELAY), 0)
+#define audio_open()	open ("/dev/audio", (O_WRONLY | O_NONBLOCK), 0)
 
 static int reset_volume_p, reset_device_p;
 static double old_volume;