#include <mmf/server/devsoundstandardcustominterfaces.h>
class MMMFSampleBuffering |
Public Member Functions | |
---|---|
pure virtual void | MmsbCancelNotifyPlayStarted() |
pure virtual TInt | MmsbDisableSampleBufferingBeforePlayback() |
pure virtual TInt | MmsbEnableSampleBufferingBeforePlayback() |
pure virtual void | MmsbNotifyPlayStarted(TRequestStatus &) |
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.
void | MmsbCancelNotifyPlayStarted | ( | ) | [pure virtual] |
Cancel any outstanding asynchronous NotifyPlayStarted requests.
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."
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."
void | MmsbNotifyPlayStarted | ( | TRequestStatus & | aStatus | ) | [pure virtual] |
Asynchronous request that completes when Playback actually starts.
Parameter | Description |
---|---|
aStatus | "TRequestStatus that will be completed when play actually starts" |