Main Page | Modules | Directories | File List | Globals

oggz_seek.h File Reference


Detailed Description

Seeking within files.

Go to the source code of this file.

Typedefs

typedef 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.

Functions

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 provided.
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 provided.
off_t oggz_tell (OGGZ *oggz)
 Query the file offset in bytes corresponding to the data read.
off_t oggz_seek (OGGZ *oggz, off_t offset, int whence)
 Seek to a specific byte offset.
int oggz_get_granuleshift (OGGZ *oggz, long serialno)
 Retrieve the granuleshift of a logical bitstream.
int oggz_set_granuleshift (OGGZ *oggz, long serialno, int granuleshift)
 Specify the granuleshift of a logical bitstream.
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.
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.
int oggz_set_metric (OGGZ *oggz, long serialno, OggzMetric metric, void *user_data)
 Set the OggzMetric to use for an OGGZ handle.
int oggz_set_data_start (OGGZ *oggz, off_t offset)
 Tell OGGZ to remember the given offset as the start of data.


Generated on Mon Feb 14 18:00:07 2005 for liboggz by  doxygen 1.4.0