virtual bool AddAudioData (void* pAudioFrameData, u32 audioFrameSize) = 0;
| Name | Description | |
|---|---|---|
| in | pAudioFrameData | The pointer to a buffer that contains the audio data to play, in 16 bits PCM format. |
| in | audioFrameSize | The size of the audio data to play, in bytes. |
true if audio data could be added for playback.
false if audio data could not be added for playback, for example because playback audio buffers are full.
Adds new audio data to play.
This method is used by the Player class to add new audio data for playback, in 16 bits PCM format.