OggDecoder

Engine/source/core/ogg/oggInputStream.h

Single substream in a multiplexed OGG stream.

More...

Public Types

Parent 

Public Friends

Protected Attributes

Lock for synchronizing access to Ogg stream state.

The Ogg container stream.

ogg_stream_state

The Ogg bitstream.

Protected Functions

bool
_detect(ogg_page * startPage)
bool
bool
bool
_packetin(ogg_packet * packet)
bool
_readNextPacket(ogg_packet * packet)

Read the next packet in the stream.

_setStartPage(ogg_page * startPage)

Public Functions

const char *

Return the serial number of the Ogg bitstream.

Detailed Description

Single substream in a multiplexed OGG stream.

Public Types

typedef void Parent 

Public Friends

Protected Attributes

Mutex mMutex 

Lock for synchronizing access to Ogg stream state.

OggInputStream * mOggStream 

The Ogg container stream.

ogg_stream_state mOggStreamState 

The Ogg bitstream.

Protected Functions

_detect(ogg_page * startPage)

Reimplemented by: OggTheoraDecoder, OggVorbisDecoder

_init()

Reimplemented by: OggTheoraDecoder, OggVorbisDecoder

_nextPacket()

_packetin(ogg_packet * packet)

Reimplemented by: OggTheoraDecoder, OggVorbisDecoder

_readNextPacket(ogg_packet * packet)

Read the next packet in the stream.

return:

false if there is no next packet.

_setStartPage(ogg_page * startPage)

Public Functions

OggDecoder(const ThreadSafeRef< OggInputStream > & stream)

~OggDecoder()

getName()

Reimplemented by: OggTheoraDecoder, OggVorbisDecoder

getStreamSerialNo()

Return the serial number of the Ogg bitstream.