Theora Playback Library  1.1.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TheoraAudioPacketQueue Class Reference

Public Member Functions

 TheoraAudioPacketQueue ()
 
 ~TheoraAudioPacketQueue ()
 
float getAudioPacketQueueLength ()
 
void addAudioPacket (float **buffer, int numSamples, float gain)
 
void addAudioPacket (float *buffer, int numSamples, float gain)
 
TheoraAudioPacketpopAudioPacket ()
 
void destroyAudioPacket (TheoraAudioPacket *p)
 
void destroyAllAudioPackets ()
 
void flushAudioPackets (TheoraAudioInterface *audioInterface)
 

Protected Member Functions

void _addAudioPacket (float *data, int numSamples)
 

Protected Attributes

unsigned int mAudioFrequency
 
unsigned int mNumAudioChannels
 
TheoraAudioPacketmTheoraAudioPacketQueue
 

Detailed Description

This is a Mutex object, used in thread syncronization.

Constructor & Destructor Documentation

TheoraAudioPacketQueue::TheoraAudioPacketQueue ( )
TheoraAudioPacketQueue::~TheoraAudioPacketQueue ( )

Member Function Documentation

void TheoraAudioPacketQueue::_addAudioPacket ( float *  data,
int  numSamples 
)
protected
void TheoraAudioPacketQueue::addAudioPacket ( float **  buffer,
int  numSamples,
float  gain 
)
void TheoraAudioPacketQueue::addAudioPacket ( float *  buffer,
int  numSamples,
float  gain 
)
void TheoraAudioPacketQueue::destroyAllAudioPackets ( )
void TheoraAudioPacketQueue::destroyAudioPacket ( TheoraAudioPacket p)
void TheoraAudioPacketQueue::flushAudioPackets ( TheoraAudioInterface audioInterface)
float TheoraAudioPacketQueue::getAudioPacketQueueLength ( )
TheoraAudioPacket* TheoraAudioPacketQueue::popAudioPacket ( )

Member Data Documentation

unsigned int TheoraAudioPacketQueue::mAudioFrequency
protected
unsigned int TheoraAudioPacketQueue::mNumAudioChannels
protected
TheoraAudioPacket* TheoraAudioPacketQueue::mTheoraAudioPacketQueue
protected

The documentation for this class was generated from the following file: