search for: fill_buffer

Displaying 8 results from an estimated 8 matches for "fill_buffer".

2000 Jun 11
1
cmdline
...rsion of vorbis. In cmdline directory # make ... gcc -O20 -ffast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char \ -I. -I../lib getopt.o getopt1.o main.o -I. -I../lib \ ../lib/libvorbis.a -o vorbis -lpthread -lm main.o: In function `main': main.o(.text+0x31c): undefined reference to `fill_buffer' main.o(.text+0x332): undefined reference to `CheckWav' main.o(.text+0x35a): undefined reference to `CheckAiff' collect2: ld returned 1 exit status make[1]: *** [target] Error 1 make[1]: Leaving directory `/home/users/wrobell/work/vorbis/cmdline' make: *** [all] Error 2 I have atta...
2000 Apr 16
0
Trying to get cmdline going...
...c getopt() things are stumping me. Ferinstance, it seems that < device=strdup(optarg); ought to be > device=optarg; and < if((ret=CheckWav(infile,bufferfill,&intype))){ probably should be > if((ret=CheckWav(inbuffer,bufferfill,&intype))){ and I've faked up a fill_buffer routine: > int fill_buffer(FILE *infile, char *inbuffer, int bufferfill, int insize) > { > return fread(inbuffer, sizeof(char), insize, infile); > } but, the logic for getting the filenames seems broke: if(optind>=argc) if(strcmp(argv[optind],"-")){ infile=fop...
2000 Apr 11
1
Compiling the 'cmdline' demo
...y `/home/martinja/projects/vorbis/cmdline' gcc -O20 -ffast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -I. -I../lib getopt.o getopt1.o main.o header.o -I. -I../lib ../lib/libvorbis.a -o vorbis -lpthread -lm main.o: In function `main': main.o(.text+0x318): undefined reference to `fill_buffer' collect2: ld returned 1 exit status make[1]: *** [target] Error 1 make: *** [all] Error 2 make[1]: Leaving directory `/home/martinja/projects/vorbis/cmdline' I looked at main.c and there is a call to the function fill_buffer. However, I cannot find this function anywhere. It does not appe...
2000 Apr 11
1
Compiling the 'cmdline' demo
...y `/home/martinja/projects/vorbis/cmdline' gcc -O20 -ffast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -I. -I../lib getopt.o getopt1.o main.o header.o -I. -I../lib ../lib/libvorbis.a -o vorbis -lpthread -lm main.o: In function `main': main.o(.text+0x318): undefined reference to `fill_buffer' collect2: ld returned 1 exit status make[1]: *** [target] Error 1 make: *** [all] Error 2 make[1]: Leaving directory `/home/martinja/projects/vorbis/cmdline' I looked at main.c and there is a call to the function fill_buffer. However, I cannot find this function anywhere. It does not appe...
1999 Sep 12
3
Hello and questions
Hi. So, I checked out libvorbis and it seemed pretty OK, but the cmdline subdir didn't compile. I made changes to Makefile.in and added a function or two (does "fill_buffer" live anywhere? I couldn't find it) and eventually got a build that didn't do much. Anyways, I guess I want real CVS access so I can check the changes in, and I'd like to slap the cmdline thing around a bit more to see it actually become useful (#if 0 suggests that the code isn...
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part? > > Well, my biggest problem is dealing with files. As you have mentioned > that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer() > didn't seem to be what I was looking for, as far as I can tell... am I > headed in completely the wrong direction? Ah, OK, I understand where you're headed now. The libvorbis API is different than the preceeding generations...
2000 Sep 11
0
cmdline does not compile from cvs
...get the following. gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -I. -I../lib -DUSE_ALLOCA_H -DUSE_MEMORY_H getopt.o getopt1.o main.o -I. -I../lib -DUSE_ALLOCA_H -DUSE_MEMORY_H ../lib/libvorbis.a -o vorbis -lm -lpthread main.o: In function `main': main.o(.text+0x31c): undefined reference to `fill_buffer' main.o(.text+0x332): undefined reference to `CheckWav' main.o(.text+0x35a): undefined reference to `CheckAiff' collect2: ld returned 1 exit status Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. T...
2000 Apr 21
1
Changes..
...of flamethrowing will teach me the ways. I was anxious to start playing with Vorbis somehow, so I downloaded it via CVS and tried to get the tool in vorbis/cmdline to compile. It didn't compile at all until I made the attached changes. Note that I'm only trying to guess as to how the 'fill_buffer' function was supposed to work, since I wasn't able to find it anywhere else in the source. Now that it does compile (without segfaulting), it just kinda hangs while trying to play an .ogg file I generated earlier. Would it actually try to play to an audio device? Apologies if the maintai...