Displaying 8 results from an estimated 8 matches for "oggz_off_t".
2009 May 15
0
[PATCH] oggz: limit seeking to specified range
...nclude/oggz/oggz_seek.h
@@ -470,9 +470,28 @@ long oggz_seek_byorder (OGGZ * oggz, void * target);
* \param oggz An OGGZ handle previously opened for reading
* \param offset The offset of the start of data
* \returns 0 on success, -1 on failure.
*/
int oggz_set_data_start (OGGZ * oggz, oggz_off_t offset);
/** \}
*/
+/**
+ * Seeks Oggz to time unit_target, but with the bounds of the offset range
+ * [offset_begin, offset_end]. This is useful when seeking in network streams
+ * where only parts of a media are buffered, and retrieving unbuffered
+ * parts is expensive.
+ * \param oggz An...
2009 Oct 08
0
Oggz 1.1.0 Release
...field, of type oggz_position:
/**
* The position of an oggz_packet.
*/
typedef struct {
/**
* Granulepos calculated by inspection of codec data.
* -1 if unknown
*/
ogg_int64_t calc_granulepos;
/**
* Byte offset of the start of the page on which this
* packet begins.
*/
oggz_off_t begin_page_offset;
/**
* Byte offset of the start of the page on which this
* packet ends.
*/
oggz_off_t end_page_offset;
/** Number of pages this packet spans. */
int pages;
/**
* Index into begin_page's lacing values
* for the segment that begins this packet.
*...
2012 May 21
1
Problems seeking with liboggz
...tion>
#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_END);
printf("\n A...
2005 Oct 07
0
liboggz 0.9.3 Release
...any Theora bos pages come before Vorbis and
Speex bos pages. (ticket:156) (conrad)
- correct handling of chained files (ticket: 162) (conrad)
* win32 build fix for oggz tools (j^)
* Other bugfixes / closed tickets:
liboggz: replace internal typedef of oggz_off_t, use off_t instead
of long (ticket:161) (Grayfox)
examples/fix-eos: discard trailing incomplete packets from the end
of the stream. (MikeS)
remove autogenerated manpages (ticket:155) (conrad, silvia)
About Oggz
----------
Oggz comprises liboggz and the comman...
2005 Oct 07
0
liboggz 0.9.3 Release
...any Theora bos pages come before Vorbis and
Speex bos pages. (ticket:156) (conrad)
- correct handling of chained files (ticket: 162) (conrad)
* win32 build fix for oggz tools (j^)
* Other bugfixes / closed tickets:
liboggz: replace internal typedef of oggz_off_t, use off_t instead
of long (ticket:161) (Grayfox)
examples/fix-eos: discard trailing incomplete packets from the end
of the stream. (MikeS)
remove autogenerated manpages (ticket:155) (conrad, silvia)
About Oggz
----------
Oggz comprises liboggz and the comman...
2012 May 21
0
Problems seeking with liboggz
...gz, 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);
>
>
>
>...
2012 May 23
0
Problems seeking with liboggz
...gz, 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);
>
>
>
>...
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()