37 #include <sys/types.h>
458 OGGZ *
oggz_open (
const char * filename,
int flags);
int oggz_get_eos(OGGZ *oggz, long serialno)
Determine if a given logical bitstream is at eos (end of stream).
Interfaces for querying Ogg streams.
int oggz_get_bos(OGGZ *oggz, long serialno)
Determine if a given logical bitstream is at bos (beginning of stream).
int oggz_run_set_blocksize(OGGZ *oggz, long blocksize)
Set the blocksize to use internally for oggz_run()
OGGZ * oggz_new(int flags)
Create a new OGGZ object.
Architecture-dependent type and printf format for file position.
Overriding the functions used for input and output of raw data.
int oggz_flush(OGGZ *oggz)
Ensure any associated io streams are flushed.
long oggz_run(OGGZ *oggz)
Run an OGGZ until completion, or error.
OGGZ * oggz_open_stdio(FILE *file, int flags)
Create an OGGZ handle associated with a stdio stream.
void OGGZ
An opaque handle to an Ogg file.
Definition: oggz.h:441
Interfaces for reading Ogg files and streams.
Interfaces for writing Ogg files and streams.
General constants used by liboggz.
long oggz_serialno_new(OGGZ *oggz)
Request a new serialno, as required for a new stream, ensuring the serialno is not yet used for any o...
OggzStreamContent
Definition of stream content types.
Definition: oggz_constants.h:106
const char * oggz_content_type(OggzStreamContent content)
Return human-readable string representation of a content type.
int oggz_close(OGGZ *oggz)
Close an OGGZ handle.
OGGZ * oggz_open(const char *filename, int flags)
Open an Ogg file, creating an OGGZ handle for it.
int oggz_get_numtracks(OGGZ *oggz)
Query the number of tracks (logical bitstreams).