search for: oggz_packet

Displaying 5 results from an estimated 5 matches for "oggz_packet".

Did you mean: ogg_packet
2009 Oct 08
0
Oggz 1.1.0 Release
...ple pages. It is often useful to know which page a packet started and ended on -- in particular, an application may want to cache the byte offset of the start of certain packets in order to more easily return to that position in the file later. As of liboggz 1.1.0, an OggzRead callback provides an oggz_packet: /** * An ogg_packet and its position in the stream. */ typedef struct { /** The ogg_packet structure, defined in <ogg/ogg.h> */ ogg_packet op; /** Its position */ oggz_position pos; } oggz_packet; Older applications will continue to work, cast...
2012 May 21
1
Problems seeking with liboggz
...seek. What could be going wrong ??? Thanks in advance, Julio. PROGRAM: // TestaOgg.cpp : Defines the entry point for the console application. #include "stdafx.h" #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);...
2012 May 21
0
Problems seeking with liboggz
...gt; > Julio. > > > > PROGRAM: > > // TestaOgg.cpp : Defines the entry point for the console application. > > #include "stdafx.h" > > #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;...
2012 May 23
0
Problems seeking with liboggz
...gt; > Julio. > > > > PROGRAM: > > // TestaOgg.cpp : Defines the entry point for the console application. > > #include "stdafx.h" > > #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;...
2012 May 16
2
Problems seeking with liboggz
Hi, I intend to use Ogg+Speex for voice recording/playback in a VoIP app. I am experimenting with liboggz to get acquainted with its API. As test files I am using some Ogg-Speex files converted from WAV files with speexenc.exe. I wrote a little testing app in Visual Studio 2010 under Windows 7. I defined OggzReadPage and OggzReadPacket callbacks with oggz_set_read_page()