Interface class that represents a source of audio. More...
#include <AudioSource.hpp>
Public Member Functions | |
virtual bool | isRendering ()=0 |
virtual uint32_t | readRenderData (void *data, uint32_t numberOfSamples)=0 |
Interface class that represents a source of audio.
AudioSource class.
|
pure virtual |
Gets whether the audio source has any data to provide.
|
pure virtual |
Renders the audio data into an audio buffer.
data | Pointer to the memory where the data will be written. |
numberOfSamples | The number of samples requested from the audio source. |