Displaying 1 result from an estimated 1 matches for "ovcom".
Did you mean:
svcom
2001 Nov 11
1
Reading tags (again)...
...e's the code that I'm using. It's a fine C/C++ mix.
The code will eventually be in a C++ app, so I don't mind throwing in some
C++'isms.
===
#include <iostream.h>
#include <vorbis/vorbisfile.h>
int main()
{
FILE *fp;
OggVorbis_File *ovFile;
vorbis_comment *ovComment;
// ovFile=malloc(sizeof(OggVorbis_File));
ovFile=new OggVorbis_File;
fp=fopen("foo.ogg","rw");
ov_open(fp,ovFile,NULL,0);
ovComment=ov_comment(ovFile,-1);
if(ovComment->user_comments)
{
printf("has comments - %i\n",ovComment->comm...