Displaying 1 result from an estimated 1 matches for "_foggz".
2009 Aug 12
1
Oggz use
...h (ret){
...LOG ERRORS...
}
granulepos += 100;
packetno++;
return 0;
}
granulepos += 100;
packetno++;
return 0;
}/
------------------------------------------------------------------------------------------------
/int
main (int argc, char * argv[])
{
int ret;
long n;
OGGZ* _fOggz;//
_fOggz = oggz_open("./fic/final.ogg", OGGZ_WRITE);
if (!_fOggz)
//...LOG ERRORS...
serialno = oggz_serialno_new (_fOggz);
ogg_int64_t granulepos = 0;
ogg_int64_t packetno = 0;
if (oggz_write_set_hungry_callback (_fOggz, oggzHungry, 1, NULL) == -1)
//...LOG ERROR...