Displaying 2 results from an estimated 2 matches for "alopenport".
2002 Apr 11
1
libao: IRIX patch
...;WARNING: This driver is untested!"
+ "Outputs to the IRIX Audio Library.",
AO_FMT_NATIVE,
20,
NULL,
@@ -58,14 +59,13 @@
1
};
-
-int ao_plugin_test()
+int ao_plugin_test(void)
{
char *dev_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_in...
2000 Nov 21
2
IRIX patch for vorbis *
...he docs only to miss the little difference between bytes and frames
for almost thirty minutes, here I present...
The Patch.
(and the missing punctuation is what lots of coffee in a short period
of time does for you ;-)
Seriously, I patched libao to actually use the configuration it builds
(alOpenPort's last parameter), and to use *frames* (what AL wants) and
not *bytes* (what AO passes)
I also added no-dependencies to the Makefile.ams because that needs GNU
CC to work properly and it was turning into a little headache to get
MIPSpro to this in the way GNU make wants it.
IRIX libc doe...