From: Eric W. <war...@us...> - 2001-10-09 23:15:36
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv9010 Modified Files: sound.c Log Message: bmiller's solaris sound patch Index: sound.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/sound.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- sound.c 2001/09/27 19:17:11 1.38 +++ sound.c 2001/10/09 23:15:33 1.39 @@ -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; |