X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fsunplay.c;h=4df9d68a4eeab586cb71e1b49a1eda46316466f7;hp=631d044dc43eb37b1474e51e74b6cdd734623563;hb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;hpb=fc475e6669a613cd6d98eb5511c749a23b63c7ac diff --git a/src/sunplay.c b/src/sunplay.c index 631d044..4df9d68 100644 --- a/src/sunplay.c +++ b/src/sunplay.c @@ -61,7 +61,7 @@ static SIGTYPE sighandler (int sig); 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;