#include <AsyncAudioJitterFifo.h>
Inheritance diagram for Async::AudioJitterFifo:

Definition at line 120 of file AsyncAudioJitterFifo.h.
| Async::AudioJitterFifo::AudioJitterFifo | ( | unsigned | fifo_size | ) | [explicit] |
Constuctor.
| fifo_size | This is the size of the fifo expressed in number of samples. |
| virtual Async::AudioJitterFifo::~AudioJitterFifo | ( | void | ) | [virtual] |
Destructor.
| virtual void Async::AudioJitterFifo::allSamplesFlushed | ( | void | ) | [protected, virtual] |
The registered sink has flushed all samples.
This function will be called when all samples have been flushed in the registered sink. This function is normally only called from a connected sink object.
Reimplemented from Async::AudioSource.
| void Async::AudioJitterFifo::clear | ( | void | ) |
Clear all samples from the FIFO.
This will immediately reset the FIFO and discard all samples. The source will be told that all samples have been flushed.
| bool Async::AudioJitterFifo::empty | ( | void | ) | const [inline] |
Check if the FIFO is empty.
Definition at line 149 of file AsyncAudioJitterFifo.h.
| virtual void Async::AudioJitterFifo::flushSamples | ( | void | ) | [virtual] |
Tell the FIFO to flush the previously written samples.
This function is used to tell the FIFO to flush previously written samples. This function is normally only called from a connected source object.
Reimplemented from Async::AudioSink.
| virtual void Async::AudioJitterFifo::resumeOutput | ( | void | ) | [virtual] |
Resume audio output to the connected sink.
This function will be called when the registered audio sink is ready to accept more samples. This function is normally only called from a connected sink object.
Reimplemented from Async::AudioSource.
| unsigned Async::AudioJitterFifo::samplesInFifo | ( | void | ) | const |
Find out how many samples there are in the FIFO.
| void Async::AudioJitterFifo::setSize | ( | unsigned | new_size | ) |
Set the size of the FIFO.
| new_size | This is the size of the fifo expressed in number of samples. |
| virtual int Async::AudioJitterFifo::writeSamples | ( | const float * | samples, | |
| int | count | |||
| ) | [virtual] |
Write samples into the FIFO.
| samples | The buffer containing the samples | |
| count | The number of samples in the buffer |
Reimplemented from Async::AudioSink.
1.4.7