MMMFSampleBuffering Class Reference

class MMMFSampleBuffering

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 Functions Documentation

MmsbCancelNotifyPlayStarted()

void MmsbCancelNotifyPlayStarted ( ) [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.

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.

MmsbNotifyPlayStarted(TRequestStatus &)

void MmsbNotifyPlayStarted ( TRequestStatus & aStatus ) [pure virtual]

Asynchronous request that completes when Playback actually starts.

Parameters

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