X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fsunplay.c;h=4df9d68a4eeab586cb71e1b49a1eda46316466f7;hb=ddf160705829afe71eae7c9f4cb9c54425fbec98;hp=631d044dc43eb37b1474e51e74b6cdd734623563;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- 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;