mw::mo::helper::AudioPresentationBuffer::AddAudioData Function

Syntax


virtual bool AddAudioData (void* pAudioFrameData, u32 audioFrameSize) = 0;

Arguments

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.

Returns

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.

Description

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.

Revision History

2011/10/03
Initial version.