Displaying 1 result from an estimated 1 matches for "_get_driver".
Did you mean:
get_driver
2004 Oct 22
0
libao-0.8.5 patch
...{
fclose(file);
errno = AO_EFILEEXISTS;
@@ -645,7 +654,7 @@
}
- file = fopen(filename, "w");
+ file = fopen(fname, "w");
}
@@ -757,6 +766,15 @@
return info_table;
}
+char *ao_file_extension(int driver_id)
+{
+ driver_list *driver;
+
+ if ( (driver = _get_driver(driver_id)) )
+ return (driver->functions->driver_info())->extension;
+ else
+ return NULL;
+}
/* -- Miscellaneous -- */
diff -ur libao-0.8.5/src/plugins/alsa/ao_alsa.c libao-0.8.5.new/src/plugins/alsa/ao_alsa.c
--- libao-0.8.5/src/plugins/alsa/ao_alsa.c 2003-07-14 03:55:47.00000000...