MMMFSampleBuffering Class Reference

#include <mmf/server/devsoundstandardcustominterfaces.h>

class MMMFSampleBuffering

Detailed Description

Custom interface class to allow DevSound to support buffering of samples before playback begins. This allows playback to be more robust to underflow errors when playback begins at the expense of higher latency before playback starts.

Member Function Documentation

MmsbCancelNotifyPlayStarted ( )

voidMmsbCancelNotifyPlayStarted()[pure virtual]

Cancel any outstanding asynchronous NotifyPlayStarted requests.

MmsbDisableSampleBufferingBeforePlayback ( )

TInt MmsbDisableSampleBufferingBeforePlayback()[pure virtual]

Disables buffering up of samples before playback begins. This function is only effective before CMMFDevSound::PlayInit() is called - calling the function after this will have no effect.

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

MmsbEnableSampleBufferingBeforePlayback ( )

TInt MmsbEnableSampleBufferingBeforePlayback()[pure virtual]

Enables buffering up of samples before playback begins. This function is only effective before CMMFDevSound::PlayInit() is called - calling the function after this will have no effect.

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

MmsbNotifyPlayStarted ( TRequestStatus & )

voidMmsbNotifyPlayStarted(TRequestStatus &aStatus)[pure virtual]

Asynchronous request that completes when Playback actually starts.

ParameterDescription
aStatus"TRequestStatus that will be completed when play actually starts"