MMMFBufferFramesConfig Class Reference

#include <mmf/server/devsoundstandardcustominterfaces.h>

class MMMFBufferFramesConfig

Detailed Description

This class provides an interface to configure and retrive the buffer frames.

Member Function Documentation

MmbfcSetNumberOfFramesPerInputBuffer ( TInt, TInt )

TInt MmbfcSetNumberOfFramesPerInputBuffer(TIntaFrameCount,
TIntaSamplesPerFrame
)[pure virtual]

For use when encoding to set the number of encoded frames contained in each buffer sent back to the client. The method should be called after CMMFDevSound::InitilaizeL but before RecordInitL.

ParameterDescription
aFrameCount- Number of frames per buffer
aSamplesPerFrame- numer of samples per frame

Returns: "This method may return one of the system-wide error codes."

MmbfcSetNumberOfFramesPerOutputBuffer ( TInt, TInt )

TInt MmbfcSetNumberOfFramesPerOutputBuffer(TIntaFrameCount,
TIntaSamplesPerFrame
)[pure virtual]

For use when decoding to set the number of encoded frames contained in each buffer sent down to DevsSund for playback. The method should be called after CMMFDevSound::InitilaizeL but before PlayInitL.

ParameterDescription
aFrameCount- Number of frames per buffer
aSamplesPerFrame- numer of samples per frame

Returns: "This method may return one of the system-wide error codes."