Displaying 1 result from an estimated 1 matches for "alcloseport".
2002 Apr 11
1
libao: IRIX patch
...ev_path;
ALport port;
- if ( !(port = alOpenPort("libao test", "w", 0)) )
+ if ((port = alOpenPort("libao test", "w", NULL)) == NULL)
return 0; /* Cannot use this plugin with default parameters */
else {
alClosePort(port);
@@ -73,7 +73,6 @@
}
}
-
ao_info *ao_plugin_driver_info(void)
{
return &ao_irix_info;
@@ -86,122 +85,124 @@
internal = (ao_irix_internal *) malloc(sizeof(ao_irix_internal));
- if (internal == NULL)
- return 0; /* Could not initialize device memory */...