Displaying 2 results from an estimated 2 matches for "get_default_device".
2001 Mar 10
0
patch to add device-option to ogg123 rc file
...is-tools-1.0beta4/ogg123/ao_interface.c vorbis-tools-1.0beta4-modified/ogg123/ao_interface.c
--- vorbis-tools-1.0beta4/ogg123/ao_interface.c Fri Feb 23 17:39:19 2001
+++ vorbis-tools-1.0beta4-modified/ogg123/ao_interface.c Sat Mar 10 03:28:28 2001
@@ -56,12 +56,13 @@
return (result);
}
-int get_default_device(void)
+int get_configs(ao_option_t ** op_h)
{
FILE *fp;
char filename[FILENAME_MAX];
char line[100];
char *device = NULL;
+ char *device_options = NULL;
char *homedir = getenv("HOME");
int i;
@@ -74,15 +75,41 @@
strcat(filename, "/.ogg123rc&qu...
2000 Dec 15
1
AIX + ogg123
...urce dir and tried again.
Not likely to work, and, well, it didn't.
gcc -DPACKAGE=\"vorbis-tools\" -DVERSION=\"1.0beta3\" -I. -I.
-I/home/xxxx/xxxx/arch/AIX/include -I/home/xxxx/xxxx/arch/AIX/include
-I/home/xxxx/xxxx/arch/AIX/include -c ogg123.c
ogg123.c: In function `get_default_device':
ogg123.c:176: `NAME_MAX' undeclared (first use in this function)
ogg123.c:176: (Each undeclared identifier is reported only once
ogg123.c:176: for each function it appears in.)
gmake: *** [ogg123.o] Error 1
NAME_MAX is indeed, not declared in ogg123.c, leading me to believe it...