[xiph-cvs] cvs commit: ao/src/plugins/sun ao_sun.c

Stan Seibert volsung at xiph.org
Sun Dec 16 13:10:34 PST 2001



volsung     01/12/16 13:10:34

  Modified:    src/plugins/sun ao_sun.c
  Log:
  Partial fix for sun audio device blocking problem during probing.  Still
  testing.

Revision  Changes    Path
1.3       +1 -1      ao/src/plugins/sun/ao_sun.c

Index: ao_sun.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/plugins/sun/ao_sun.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ao_sun.c	2001/08/04 02:56:18	1.2
+++ ao_sun.c	2001/12/16 21:10:34	1.3
@@ -69,7 +69,7 @@
 {
         int fd;
 
-	if ( (fd = open(AO_SUN_DEFAULT_DEV, O_WRONLY)) < 0 )
+	if ( (fd = open(AO_SUN_DEFAULT_DEV, O_WRONLY | O_NONBLOCK)) < 0 )
                 return 0; /* Cannot use this plugin with default parameters */
         else {
                 close(fd);

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list