33 #ifndef __OGGZ_SEEK_H__
34 #define __OGGZ_SEEK_H__
145 #ifdef _UNIMPLEMENTED
146 long oggz_seek_packets (
OGGZ * oggz,
long serialno,
long packets,
int whence);
323 ogg_int64_t * granulerate_n,
324 ogg_int64_t * granulerate_d);
340 ogg_int64_t granule_rate_numerator,
341 ogg_int64_t granule_rate_denominator);
361 ogg_int64_t granulepos,
void * user_data);
388 #ifdef _UNIMPLEMENTED
445 typedef int (*OggzOrder) (
OGGZ * oggz, ogg_packet * op,
void * target,
454 int oggz_set_order (
OGGZ * oggz,
long serialno, OggzOrder order,
457 long oggz_seek_byorder (
OGGZ * oggz,
void * target);
493 ogg_int64_t unit_target,
494 ogg_int64_t offset_begin,
495 ogg_int64_t offset_end);
ogg_int64_t oggz_bounded_seek_set(OGGZ *oggz, ogg_int64_t unit_target, ogg_int64_t offset_begin, ogg_int64_t offset_end)
Seeks Oggz to time unit_target, but with the bounds of the offset range [offset_begin, offset_end].
ogg_int64_t oggz_tell_units(OGGZ *oggz)
Query the current offset in milliseconds, or custom units as specified by a Metric function you have ...
int oggz_set_metric(OGGZ *oggz, long serialno, OggzMetric metric, void *user_data)
Set the OggzMetric to use for an OGGZ handle.
ogg_int64_t oggz_tell_granulepos(OGGZ *oggz)
Provide the exact stored granulepos (from the page header) if relevant to the current packet...
int oggz_set_data_start(OGGZ *oggz, oggz_off_t offset)
Tell Oggz to remember the given offset as the start of data.
int oggz_set_granuleshift(OGGZ *oggz, long serialno, int granuleshift)
Specify the granuleshift of a logical bitstream.
int oggz_get_preroll(OGGZ *oggz, long serialno)
Retrieve the preroll of a logical bitstream.
ogg_int64_t(* OggzMetric)(OGGZ *oggz, long serialno, ogg_int64_t granulepos, void *user_data)
This is the signature of a function to correlate Ogg streams.
Definition: oggz_seek.h:359
int oggz_set_preroll(OGGZ *oggz, long serialno, int preroll)
Specify the preroll of a logical bitstream.
oggz_off_t oggz_seek(OGGZ *oggz, oggz_off_t offset, int whence)
Seek to a specific byte offset.
off_t oggz_off_t
This typedef was determined on the system on which the documentation was generated.
Definition: oggz_off_t_generated.h:62
ogg_int64_t oggz_seek_units(OGGZ *oggz, ogg_int64_t units, int whence)
Seek to an offset in milliseconds, or custom units as specified by a Metric function you have provide...
int oggz_get_granulerate(OGGZ *oggz, long serialno, ogg_int64_t *granulerate_n, ogg_int64_t *granulerate_d)
Retrieve the granulerate of a logical bitstream.
void OGGZ
An opaque handle to an Ogg file.
Definition: oggz.h:441
oggz_off_t oggz_tell(OGGZ *oggz)
Query the file offset in bytes corresponding to the data read.
int oggz_get_granuleshift(OGGZ *oggz, long serialno)
Retrieve the granuleshift of a logical bitstream.
int oggz_set_granulerate(OGGZ *oggz, long serialno, ogg_int64_t granule_rate_numerator, ogg_int64_t granule_rate_denominator)
Specify the granulerate of a logical bitstream.