--- a/src/sound.c Tue Oct 09 22:20:46 2001 +0000 +++ b/src/sound.c Tue Oct 09 23:15:33 2001 +0000 @@ -82,7 +82,7 @@ { int fd; - fd = open("/dev/audio", O_WRONLY | O_EXCL); + fd = open("/dev/audio", O_WRONLY | O_EXCL | O_NDELAY); if (fd < 0) return; write(fd, data, size); @@ -106,7 +106,7 @@ read(fd, buf, info.st_size - 24); close(fd); - fd = open("/dev/audio", O_WRONLY | O_EXCL); + fd = open("/dev/audio", O_WRONLY | O_EXCL | O_NDELAY); if (fd < 0) { free(buf); return;