MMMFAudioDataSupplier Class Reference

class MMMFAudioDataSupplier

An interface to a set of callback functions that a buffer source client must implement.

Member Functions Documentation

BufferToBeFilled(MMMFBufferSource *, CMMFBuffer *)

voidBufferToBeFilled(MMMFBufferSource *aSource,
CMMFBuffer *aBuffer
)[pure virtual]

Request a buffer to be filled with audio data.

After filling the buufer, the client must call MBufferSource::BufferFilled() passing the filled buffer as a parameter.

Parameters

MMMFBufferSource * aSourcea pointer to the source requesting the buffer.
CMMFBuffer * aBuffera pointer to the buffer to fill.

DiscardBuffers(MMMFBufferSource *)

voidDiscardBuffers(MMMFBufferSource *aSource)[pure virtual]

Indicates that all buffers originating from this source have been removed from the audio path. Also, all pending buffers previously requested by this source have become invalid and must not be used.

Parameters

MMMFBufferSource * aSourcethe source whose previous buffer requests should be ignored.