#include <oggcc.h>
Public Member Functions | |
| stream (int serialno) | |
| int | eos () |
| int | flush (page *og) |
| use to flush a packet regardles of its size | |
| int | pagein (page *og) |
| int | packetout (packet *op) |
| decode. points a packet at an internal data buffer. | |
| int | packetpeek (packet *op) |
| int | packetin (packet *op) |
| int | pageout (page *og) |
| int | reset () |
| good to call before seeking | |
| int | reset_serialno (int serialno) |
Public Attributes | |
| ogg_stream_state | data |
Protected Member Functions | |
| int | init (int serialno) |
| allocate non-flat storage for stream | |
| int | clear () |
| dealloc non-flat storage within | |
| int | destroy () |
| delete oggvorbis allocated ogg_stream_state structure (would try to _ogg_free this->data) | |
| int | flush (ogg_page *og) |
| int | packetin (ogg_packet *op) |
| int | packetout (ogg_packet *op) |
| int | packetpeek (ogg_packet *op) |
| int | pagein (ogg_page *og) |
| int | pageout (ogg_page *og) |
|
|
Attempt to assemble a raw data packet and return it without advancing decoding. Before this method is called, an ogg_page should be submitted to the stream using stream::pagein(). op Pointer to the next packet available in the bitstream, if any. A NULL value may be passed in the case of a simple "is there a packet?" check. |
1.3.5