Displaying 1 result from an estimated 1 matches for "ov_testemac".
Did you mean:
ov_testemacs
2003 Jun 11
1
Problems with ov_open
...quot;
#include "vorbis/vorbisfile.h"
int main(int argc, char *argv[])
{
<p> //open the file supplied at command line
FILE *f = fopen(argv[1], "rw");
//create an instance of the OggVorbis_File class
OggVorbis_File vf;
//open the specified vorbis file.
int i = ov_testemacs(f, &vf, NULL, 0);
}
--------------------------------MAKEFILE------------------------------
CFLAGS = -g
LIBS = -L/usr/local/lib -lvorbisfile -lvorbis -logg -lao -lvorbisenc -lltdl
<p>oggPlay: oggPlay.o oggPlay.c
gcc $(CFLAGS) oggPlay.o -o oggPlay $(LIBS)
oggPlay.o : oggPlay...