Displaying 5 results from an estimated 5 matches for "poggz".
Did you mean:
oggz
2012 May 21
1
Problems seeking with liboggz
...t;
#include <exception>
#include <oggz/oggz.h>
int myReadPacketCallback (OGGZ* oggz, oggz_packet* packet, long serialno, void* user_data);
int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, void* user_data);
int _tmain(int argc, _TCHAR* argv[])
{
OGGZ* pOGGZ;
int ret;
oggz_off_t ofs;
pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO);
ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, (void*)0);
ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, (void*)0);
ofs = oggz_seek(pOGGZ, 0, SEEK...
2012 May 21
0
Problems seeking with liboggz
...> int myReadPacketCallback (OGGZ* oggz, oggz_packet* packet, long
> serialno,
> void* user_data);
>
> int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno,
> void* user_data);
>
>
>
> int _tmain(int argc, _TCHAR* argv[])
>
> {
>
> OGGZ* pOGGZ;
>
> int ret;
>
> oggz_off_t ofs;
>
>
>
> pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO);
>
> ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback,
> (void*)0);
>
> ret = oggz_set_read_page (pOGGZ, -1, myReadPageC...
2012 May 23
0
Problems seeking with liboggz
...> int myReadPacketCallback (OGGZ* oggz, oggz_packet* packet, long
> serialno,
> void* user_data);
>
> int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno,
> void* user_data);
>
>
>
> int _tmain(int argc, _TCHAR* argv[])
>
> {
>
> OGGZ* pOGGZ;
>
> int ret;
>
> oggz_off_t ofs;
>
>
>
> pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO);
>
> ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback,
> (void*)0);
>
> ret = oggz_set_read_page (pOGGZ, -1, myReadPageC...
2012 May 16
2
Problems seeking with liboggz
...encoded audio file with oggz_open("MyFile.spx",
OGGZ_READ | OGGZ_AUTO);
- I have a loop of invocations of oggz_read() that triggers in the due
time the page and packet callbacks defined by me.
- But when I randomly do seeking by means of
ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET);
I get erratic results:
Many times rseek does not match posMsecs.
The first page callback after the seek invocation refers to a page
that is sometimes previous and sometimes after the page that contains
posMsecs.
What rules are to be foll...
2012 May 17
0
Problems seeking with liboggz
...x",
> OGGZ_READ | OGGZ_AUTO); ****
>
> - I have a loop of invocations of oggz_read() that triggers in the due
> time the page and packet callbacks defined by me.****
>
> - But when I randomly do seeking by means of ****
>
> ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET);****
>
> I get erratic results: ****
>
> Many times rseek does not match posMsecs. ****
>
> The first page callback after the seek invocation refers to a page
> that is sometimes previous and sometimes after the page that contains
>...