Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

ogg::stream Class Reference

Stream. More...

#include <oggcc.h>

List of all members.

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)


Detailed Description

Stream.


Member Function Documentation

int ogg::stream::packetpeek packet op  )  [inline]
 

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.


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 03:10:32 2004 for oggpy/oggcc by doxygen 1.3.5