![]() |
Theora Playback Library
1.0.0
|
Public Member Functions | |
TheoraAudioPacketQueue () | |
~TheoraAudioPacketQueue () | |
float | getAudioPacketQueueLength () |
void | addAudioPacket (float **buffer, int numSamples, float gain) |
void | addAudioPacket (float *buffer, int numSamples, float gain) |
TheoraAudioPacket * | popAudioPacket () |
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 |
TheoraAudioPacket * | mTheoraAudioPacketQueue |
This is a Mutex object, used in thread syncronization.
TheoraAudioPacketQueue::TheoraAudioPacketQueue | ( | ) |
TheoraAudioPacketQueue::~TheoraAudioPacketQueue | ( | ) |
|
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 | ( | ) |
|
protected |
|
protected |
|
protected |