Displaying 1 result from an estimated 1 matches for "ov_open_return_code".
2004 Apr 24
2
Is this a bug in ogg ?
...ogg (5196 bytes) and test2.ogg (6128 bytes)
        fp=fopen("chou_s_test1_test2.pak","rb");
        //fseek(fp,3403, SEEK_SET); // place to the beginning of test1.ogg
        fseek(fp,3403 + 5196,SEEK_SET); // place to the beginning of
test2.ogg
        fprintf(stderr, " ov_open_return_code:%i\n",ov_open(fp, &vf, NULL,
0));
        int xx = ov_raw_total(&vf,-1);
        int yy =  (long)ov_pcm_total(&vf, -1);
        printf("oggtotalraw:%i",xx);
        printf("oggtotalpcm:%i",yy);
}
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg...