To finish using an OGGZ handle, it should be closed with oggz_close().
For details, see <oggz/oggz_io.h> .
#include <stdio.h>
#include <sys/types.h>
#include <ogg/ogg.h>
#include <oggz/oggz_constants.h>
#include <oggz/oggz_table.h>
#include <oggz/oggz_read.h>
#include <oggz/oggz_seek.h>
#include <oggz/oggz_write.h>
#include <oggz/oggz_io.h>
#include <oggz/oggz_deprecated.h>
Go to the source code of this file.
Typedefs | |
| typedef void | OGGZ |
| An opaque handle to an Ogg file. | |
Functions | |
| OGGZ * | oggz_new (int flags) |
| Create a new OGGZ object. | |
| OGGZ * | oggz_open (const char *filename, int flags) |
| Open an Ogg file, creating an OGGZ handle for it. | |
| OGGZ * | oggz_open_stdio (FILE *file, int flags) |
| Create an OGGZ handle associated with a stdio stream. | |
| int | oggz_flush (OGGZ *oggz) |
| Ensure any associated io streams are flushed. | |
| int | oggz_close (OGGZ *oggz) |
| Close an OGGZ handle. | |
| int | oggz_get_bos (OGGZ *oggz, long serialno) |
| Determine if a given logical bitstream is at bos (beginning of stream). | |
| int | oggz_get_eos (OGGZ *oggz, long serialno) |
| Determine if a given logical bitstream is at eos (end of stream). | |
| 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 other streams managed by this OGGZ. | |
|
|
An opaque handle to an Ogg file. This is returned by oggz_open() or oggz_new(), and is passed to all other oggz_* functions. |
|
|
Close an OGGZ handle.
|
|
|
Ensure any associated io streams are flushed.
|
|
||||||||||||
|
Determine if a given logical bitstream is at bos (beginning of stream).
|
|
||||||||||||
|
Determine if a given logical bitstream is at eos (end of stream).
|
|
|
Create a new OGGZ object.
|
|
||||||||||||
|
Open an Ogg file, creating an OGGZ handle for it.
|
|
||||||||||||
|
Create an OGGZ handle associated with a stdio stream.
|
|
|
Request a new serialno, as required for a new stream, ensuring the serialno is not yet used for any other streams managed by this OGGZ.
|
1.4.0