![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
Interface status: | deprecated |
class CMMFDataPath : public CActive, public MDataSink, public MDataSource, public MAsyncEventHandler;
Abstract utility class that moves data from a single data source to a single data sink, via a codec if required.
All functions are exported form the DLL and are virtual to allow plugins to define their own data paths.
MAsyncEventHandler
- ...
MDataSource
-
Abstract class representing a data source.
MDataSink
-
Abstract class representing a data sink.
CBase
-
Base class for all classes to be instantiated on the heap.
CActive
-
The core class of the active object abstraction.
CMMFDataPath
- Abstract utility class that moves data from a single data source to a single dat...
Defined in CMMFDataPath
:
AddDataSinkL(MDataSink *)
Adds a data sink to the datapath and, if the source already exists, tries to est...AddDataSourceL(MDataSource *)
Adds a data source to the datapath and, if the sink already exists, tries to est...BufferEmptiedL(CMMFBuffer *)
Indicates the data sink has emptied the buffer.BufferFilledL(CMMFBuffer *)
Indicates the data source has filled the specified buffer.CMMFDataPath(TMediaId,MAsyncEventHandler &)
CanCreateSinkBuffer()
Tests whether the data path can create a sink buffer.CanCreateSourceBuffer()
Tests whether the data path can create a source buffer.ClearPlayWindowL()
Sets the play window to the full length of clip. ConstructL(TUid)
Takes UID of codec on construction, and if not an NULL codec sets the datapath u...ConstructSinkL(const TDesC8 &)
Constructs a sink.ConstructSourceL(const TDesC8 &)
Constructs a source.CreateSinkBufferL(TMediaId)
Creates a sink buffer according to the specifed media ID.CreateSinkBufferL(TMediaId,TBool &)
Creates a sink buffer according to the specifed media ID and reference.CreateSourceBufferL(TMediaId)
Creates a source buffer.CreateSourceBufferL(TMediaId,TBool &)
Creates a source buffer according to the specifed media ID and reference.DoCancel()
Cancels the clip.DoSendEventToClient(TUid,TInt)
Passes error handling and general messages up to clients.EConverting
Converting.EEndOfData
End of data.EInitializeSink
Initialize the sink.EInitializeSource
Initialize the source.ENeedSinkBuffer
Sink buffer needed.ENeedSinkData
Sink buffer does not contain data.ENeedSourceBuffer
Source buffer needed.ENeedSourceData
Source buffer does not contain data.ENeedToMatchSourceToSink
There is more source data to send to the sink and need to match sink and source.ENoBuffers
No buffers needed.EPlaying
Playing.EPrimed
Primed.ERecording
Recording.ESendDataToSink
Outstanding data to send to sink.EStopped
Stopped.EWaitSink
Waiting on a BufferEmptied callback from sinkEWaitSource
Waiting on a BufferFilled callback from sourceEmptyBufferL(CMMFBuffer *,MDataSource *,TMediaId)
Clears the specified buffer.EndOfData()
Forces and end of data state on the datapath FillBufferL(CMMFBuffer *,MDataSink *,TMediaId)
Fills the specified buffer.NewL(MAsyncEventHandler &)
Allocates and constructs a data path.NewL(TMediaId,MAsyncEventHandler &)
Allocates and constructs a data path according to the specified media ID.NewL(TUid,MAsyncEventHandler &)
Allocates and constructs a data path according to the specified codec UID.NewL(TUid,TMediaId,MAsyncEventHandler &)
Allocates and constructs a data path according to the specified codec UID.Pause()
Pauses playing.PlayL()
Starts an active scheduler 'play' loop.Position()const
Gets the data path position.PrimeL()
Allocates buffers in preparation to play.ResetL()
Deletes buffers if this datapath's sources and sinks own the buffers returned by...RunError(TInt)
Handles errors coming from attached sources and passes them to the clients.RunL()
Runs the clip depending on the current data path and transfer state.SendEventToClient(const TMMFEvent &)
Passes error handling and general messages to clients.SetBlockLength(TUint)
SetPlayWindowL(const TTimeIntervalMicroSeconds &,const TTimeIntervalMicroSeconds &)
Sets the play window absolutely (i.e. the parameters are relative to the start o...SetPositionL(const TTimeIntervalMicroSeconds &)
Sets the data path position.SinkDataTypeCode(TMediaId)
Gets the sink's data type for the specified media ID.SourceDataTypeCode(TMediaId)
Gets the source data type for the specified media ID.State()
Returns the current data path state. Stop()
Stops playing.TDataPathState
Indicates the state of the data path.TNeedBuffer
This indicates what buffers are required in order to operate. If a real Codec is...TTransferState
Indicates the transfer state.iAllDataSentToSink
Indicates that all data has been sent to the sink.iBuffersToUse
Holds the outcome of the call to DetermineBuffersToUseLiCachedSourceDuration
This value can be used to obtain the duration of the source when playing or conv...iCodec
Codec in use. Null Codec is signified by == NULLiCodecProcessResult
Result of processing the codec.iCompleteCallback
Pointer to internal callback completion classiCurrentSinkFrameNumber
The sink's position in terms of frames or some other time fixed parameter.iCurrentSourceFrameNumber
The source's position in terms of frames or some other time fixed parameter.iDataPathCompletedErrorCode
Datapath completed because of an error; usually KErrNone.iDataPathCreated
Set to ETrue when the data path has a source and a sink and can send data from t...iDataSink
The sink of data for which the CMMFDataPath is a MDataSource foriDataSource
The source of data to which the CMMFDataPath is a MDataSink for.iEventHandler
Event handler.iMediaId
Identifies which media type and stream within MDataSource.iNoMoreSourceData
Indicates that all data has been obtained from the source (ETrue if there is no ...iObtainingAsyncSinkBuffer
Indicates asynchrous buffers from AudioOutput.iObtainingAsyncSourceBuffer
Indicates asynchrous buffers from AudioInput.iPauseCalled
Indicates CMMFDataPath::DoPauseL() has been called.iPlayWindowEndPosition
End position of the play window.iPlayWindowStartPosition
Start position of the play window.iReferenceAudioSamplesPlayed
Holds the number of samples played on audio output at a point where we want to r...iReferenceAudioSamplesRecorded
Holds the number of samples recorded from audio input at a point where we want t...iSinkBuffer
This is set to point to whichever sink buffer is in use.iSinkBufferWithSink
Flag to indicate that a buffer is with the sink.iSinkCanReceive
Set to true when the sink is able to accept data. EFalse otherwise.iSinkFourCC
The sink's data type. Same as the codec input data type.iSnkBufRef
ETrue if sink buffer is reference to object owned by someone elseiSourceBuffer
This is the pointer to whichever source buffer is in useiSourceBufferWithSource
Flag to indicate that a buffer is with the source.iSourceFourCC
The source's data type. Same as the codec output data type.iSrcBufRef
ETrue if the source buffer is reference to object owned by someone else.iStartPosition
The position audio will start playing from. When stopping, this is set to iPlayW...iState
Current data path state. iTransferState
Current transfer state. iUseSuppliedCodecUid
Set to true if data path has to use a supplied codec in its construction.~CMMFDataPath()
Standard destructor. Inherited from CActive
:
CActive(TInt)
Constructs the active object with the specified priority.Cancel()
Cancels the wait for completion of an outstanding request.Deque()
Removes the active object from the active scheduler's list of active objects.EPriorityHigh
A priority higher than EPriorityUserInput.EPriorityIdle
A low priority, useful for active objects representing background processing.EPriorityLow
A priority higher than EPriorityIdle but lower than EPriorityStandard.EPriorityStandard
Most active objects will have this priority.EPriorityUserInput
A priority higher than EPriorityStandard; useful for active objects handling use...Extension_(TUint,TAny *&,TAny *)
Extension function IsActive()const
Determines whether the active object has a request outstanding.IsAdded()const
Determines whether the active object has been added to the active scheduler's li...Priority()const
Gets the priority of the active object.SetActive()
Indicates that the active object has issued a request and that it is now outstan...SetPriority(TInt)
Sets the priority of the active object.TPriority
Defines standard priorities for active objects. iStatus
The request status associated with an asynchronous request.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from MDataSink
:
DataSinkType()const
Returns the UID identifying the type of data sink.MDataSink(TUid)
Protected constructor.NegotiateL(MDataSource &)
Allows the data sink to negotiate with a data source.NewSinkL(TUid,const TDesC8 &)
Instantiates a new data sink.SetSinkDataTypeCode(TFourCC,TMediaId)
Sets the data type as a fourCC code for the data sink.SetSinkPrioritySettings(const TMMFPrioritySettings &)
Sets the sink priority settings.SinkCustomCommand(TMMFMessage &)
Calls a sink specific custom command.SinkPauseL()
Function to 'pause' the data sink.SinkPlayL()
Function 'play' the data sink.SinkPrimeL()
Function to 'prime' the data sink.SinkStopL()
Function to 'stop' the data sink.SinkThreadLogoff()
Function to 'logoff' the data sink from the same thread that sink consumes data ...SinkThreadLogon(MAsyncEventHandler &)
Function to 'logon' the data sink to the same thread that sink will be consuming...Inherited from MDataSource
:
CreateSourceBufferL(TMediaId,CMMFBuffer &,TBool &)
Returns a buffer created by the data source.DataSourceType()const
Returns the UID identifying the type of data source.MDataSource(TUid)
Protected constructor.NegotiateSourceL(MDataSink &)
Function to allow the data source to negotiate with a data sinkNewSourceL(TUid,const TDesC8 &)
Instantiates a data source.SetSourceDataTypeCode(TFourCC,TMediaId)
Sets the data type as a fourCC code for the data source.SetSourcePrioritySettings(const TMMFPrioritySettings &)
Function to set the source priority settings.SourceCustomCommand(TMMFMessage &)
Function to call a source specific custom command.SourcePauseL()
Function to 'pause' the data source.SourcePlayL()
Function to 'play' the data source.SourcePrimeL()
Function to 'prime' the data source.SourceSampleConvert()
Indicates whether the data source supports sample rate conversion.SourceStopL()
Function to 'stop' the data source.SourceThreadLogoff()
Function to 'logoff' the data source from the same thread that source supplies d...SourceThreadLogon(MAsyncEventHandler &)
Function to 'logon' the data source to the same thread that source will be suppl...Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C static CMMFDataPath* NewL(MAsyncEventHandler &aEventHandler);
Allocates and constructs a data path.
Use this function if the codec UID is not already known by CMMFController
and there is no data path ambiguity - ie only one data path is possible.
Will create codec via fourCC.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C static CMMFDataPath* NewL(TMediaId aMediaId, MAsyncEventHandler &aEventHandler);
Allocates and constructs a data path according to the specified media ID.
Use this function if the codec UID is not already known by CMMFController
and there is ambiguity with the data path ie. there is more than one possible data path.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C static CMMFDataPath* NewL(TUid aCodecUid, MAsyncEventHandler &aEventHandler);
Allocates and constructs a data path according to the specified codec UID.
Use this function if the codec UID is already known by CMMFController
and there is no data path ambiguity ie. only one data path is possible will create codec explicitly using the supplied codec
Uid
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C static CMMFDataPath* NewL(TUid aCodecUid, TMediaId aMediaId, MAsyncEventHandler &aEventHandler);
Allocates and constructs a data path according to the specified codec UID.
Use this function if the codec UID is already known by CMMFController
and there is ambiguity ie. more than one possible data path. TMediaId
used to select the path.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual ~CMMFDataPath();
Standard destructor.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: inline CMMFDataPath(TMediaId aMediaId, MAsyncEventHandler &aEventHandler);
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: IMPORT_C void ConstructL(TUid aCodecUid=TUid::Null());
Takes UID of codec on construction, and if not an NULL codec sets the datapath up for codec instantiation.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void ResetL();
Deletes buffers if this datapath's sources and sinks own the buffers returned by CMMFDataPath::PrimeL()
. Typically if buffers are created asychronously, the datapath doesn't own the buffer so leaves cleanup handling to the owner
sources/sinks.
Called when source and sink needs to be de-referenced. Sets iDataPathCreated, iSinkCanReceive, iSnkBufRef and iSrcBufRef to EFalse; sets iState to EStopped.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void EmptyBufferL(CMMFBuffer *aBuffer, MDataSource *aSupplier, TMediaId aMediaId);
Clears the specified buffer.
Pure virtual dummy implementation, not needed by datapath comes from MDataSink
- CMMFData path is a sink to its MDataSource
.
This is only required for an active push MDataSource
requesting a buffer empty.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void BufferFilledL(CMMFBuffer *aBuffer);
Indicates the data source has filled the specified buffer.
Called by the CMMFDataPath's MDataSource
when it has filled the buffer.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TBool CanCreateSinkBuffer();
Tests whether the data path can create a sink buffer.
The default implementation returns false.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual CMMFBuffer* CreateSinkBufferL(TMediaId aMediaId);
Creates a sink buffer according to the specifed media ID.
Intended for synchronous usage (buffers supplied by datapath for an MDataSink
). This method is essentially a dummy implementation of an MDataSink
pure virtual.
The default implementation returns NULL.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual CMMFBuffer* CreateSinkBufferL(TMediaId aMediaId, TBool &aReference);
Creates a sink buffer according to the specifed media ID and reference.
Intended for asynchronous usage (buffers supplied by Devsound device). This method is essentially a dummy implementation of
an MDataSink
pure virtual.
The default implementation returns NULL.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TFourCC SinkDataTypeCode(TMediaId aMediaId);
Gets the sink's data type for the specified media ID.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void FillBufferL(CMMFBuffer *aBuffer, MDataSink *aConsumer, TMediaId aMediaId);
Fills the specified buffer.
Pure virtual dummy implementation, not needed by datapath comes from MDataSink
- CMMFData path is a source to its MDataSink
Only required for an active pull MDataSink
requesting a buffer fill. The default implementation is empty.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void BufferEmptiedL(CMMFBuffer *aBuffer);
Indicates the data sink has emptied the buffer.
Called by the CMMFDataPath's MDataSink
when it has emptied the buffer
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TBool CanCreateSourceBuffer();
Tests whether the data path can create a source buffer.
Would expect datapath to always return NULL, so this is a default implementation of a pure virtual from MDataSink
.
The default implementation returns EFalse.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual CMMFBuffer* CreateSourceBufferL(TMediaId aMediaId);
Creates a source buffer.
Intended for synchronous usage (buffers supplied by datapath for a MDataSource
) This method is essentially a dummy implementation of an MDataSource
pure virtual.
The default implementation leaves with KErrNotSupported and returns NULL.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual CMMFBuffer* CreateSourceBufferL(TMediaId aMediaId, TBool &aReference);
Creates a source buffer according to the specifed media ID and reference.
Intended for asynchronous usage (buffers supplied by datapath for a MDataSource
) This method is essentially a dummy implementation of an MDataSource
pure virtual.
The default implementation leaves with KErrNotSupported and returns NULL.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TFourCC SourceDataTypeCode(TMediaId aMediaId);
Gets the source data type for the specified media ID.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void AddDataSourceL(MDataSource *aSource);
Adds a data source to the datapath and, if the sink already exists, tries to establish a connection between the source and sink.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void AddDataSinkL(MDataSink *aSink);
Adds a data sink to the datapath and, if the source already exists, tries to establish a connection between the source and sink.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void PrimeL();
Allocates buffers in preparation to play.
Must be called before calling CMMFDataPath::PlayL()
.
iSnkBufRef and iSrcBufRef contain ETrue if these buffers are created and owned by a MDataSource
or MDataSink
For clean-up purposes, datapath only cleans up buffers allocated directly by CMMFDataPath::PrimeL()
.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void PlayL();
Starts an active scheduler 'play' loop.
Can only play from the primed state.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void Pause();
Pauses playing.
Sends KMMFErrorCategoryDataPathGeneralError to the client if an error occurs.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void Stop();
Stops playing.
Resets datapath position - currently does not clean up buffers. Sends KMMFErrorCategoryDataPathGeneralError to the client if an error occurs.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TTimeIntervalMicroSeconds Position() const;
Gets the data path position.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void SetPositionL(const TTimeIntervalMicroSeconds &aPosition);
Sets the data path position.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void SetPlayWindowL(const TTimeIntervalMicroSeconds &aStart, const TTimeIntervalMicroSeconds &aEnd);
Sets the play window absolutely (i.e. the parameters are relative to the start of the entire clip).
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void ClearPlayWindowL();
Sets the play window to the full length of clip.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TInt State();
Returns the current data path state.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void RunL();
Runs the clip depending on the current data path and transfer state.
For example, fills the sink buffer if TDataPathState is EPlaying and TTransferState is ENeedSinkData.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual void DoCancel();
Cancels the clip.
The default implementation is empty.
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C virtual TInt RunError(TInt aError);
Handles errors coming from attached sources and passes them to the clients.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C TInt DoSendEventToClient(TUid aEventType, TInt aErrorCode);
Passes error handling and general messages up to clients.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
IMPORT_C TInt SetBlockLength(TUint aBlockLength);
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: IMPORT_C virtual void ConstructSourceL(const TDesC8 &aInitData);
Constructs a source.
The default implementation leaves with KErrNotSupported.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: IMPORT_C virtual void ConstructSinkL(const TDesC8 &aInitData);
Constructs a sink.
Overridable constuction specific to this datasource.
The default implementation leaves with KErrNotSupported.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: IMPORT_C virtual void EndOfData();
Forces and end of data state on the datapath
Interface status: | deprecated | Inherited from: CMMFDataPath |
private: IMPORT_C virtual TInt SendEventToClient(const TMMFEvent &aEvent);
Passes error handling and general messages to clients.
|
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
TDataPathState
Indicates the state of the data path.
Mimics typical MultiMedia behaviour of stopped, primed and playing
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTransferState
Indicates the transfer state.
Buffers maybe be filled, emptied, or have "one" shot initialisatings performed upon them.
TTransferState is used within the datapath RunL which drives databuffer exchange.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TNeedBuffer
This indicates what buffers are required in order to operate. If a real Codec is in use, buffers are required from both source and sink, else only one is required and source is preferred.
|
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: MAsyncEventHandler & iEventHandler;
Event handler.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: MDataSource * iDataSource;
The source of data to which the CMMFDataPath is a MDataSink
for.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: MDataSink * iDataSink;
The sink of data for which the CMMFDataPath is a MDataSource
for
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iSinkCanReceive;
Set to true when the sink is able to accept data. EFalse otherwise.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TFourCC iSinkFourCC;
The sink's data type. Same as the codec input data type.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TFourCC iSourceFourCC;
The source's data type. Same as the codec output data type.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TMediaId iMediaId;
Identifies which media type and stream within MDataSource
.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: CMMFCodec * iCodec;
Codec in use. Null Codec is signified by == NULL
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TCodecProcessResult iCodecProcessResult;
Result of processing the codec.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iDataPathCreated;
Set to ETrue when the data path has a source and a sink and can send data from the source to the sink.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TDataPathState iState;
Current data path state.
CMMFDataPath::TDataPathState
Indicates the state of the data path.Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTransferState iTransferState;
Current transfer state.
CMMFDataPath::TTransferState
Indicates the transfer state.Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iUseSuppliedCodecUid;
Set to true if data path has to use a supplied codec in its construction.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: CMMFBuffer * iSinkBuffer;
This is set to point to whichever sink buffer is in use.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: CMMFBuffer * iSourceBuffer;
This is the pointer to whichever source buffer is in use
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TUint iCurrentSourceFrameNumber;
The source's position in terms of frames or some other time fixed parameter.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TUint iCurrentSinkFrameNumber;
The sink's position in terms of frames or some other time fixed parameter.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iNoMoreSourceData;
Indicates that all data has been obtained from the source (ETrue if there is no more source data).
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iAllDataSentToSink;
Indicates that all data has been sent to the sink.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TUint iDataPathCompletedErrorCode;
Datapath completed because of an error; usually KErrNone.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTimeIntervalMicroSeconds iPlayWindowStartPosition;
Start position of the play window.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTimeIntervalMicroSeconds iPlayWindowEndPosition;
End position of the play window.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTimeIntervalMicroSeconds iStartPosition;
The position audio will start playing from. When stopping, this is set to iPlayWindowStartPosition. When pausing, this is set to the current position.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TTimeIntervalMicroSeconds iCachedSourceDuration;
This value can be used to obtain the duration of the source when playing or converting. This is an optimisation as this value will not change if we are playing or converting.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iSrcBufRef;
ETrue if the source buffer is reference to object owned by someone else.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iSnkBufRef;
ETrue if sink buffer is reference to object owned by someone else
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iObtainingAsyncSourceBuffer;
Indicates asynchrous buffers from AudioInput.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iObtainingAsyncSinkBuffer;
Indicates asynchrous buffers from AudioOutput.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iPauseCalled;
Indicates CMMFDataPath::DoPauseL()
has been called.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iSourceBufferWithSource;
Flag to indicate that a buffer is with the source.
This is necessary as it is imperrative that when a buffer is with the source, it must not be referenced in any way. The reason for this is that it is not mandated that sources maintain buffer references. For example, it is valid for DevSound to return recorded data in a different buffer to the one supplied to it.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TBool iSinkBufferWithSink;
Flag to indicate that a buffer is with the sink.
This are necessary as it is imperrative that when a buffer is with the sink, it must not be referenced in any way. The reason for this is that it is not mandated that sinks maintain buffer references. For example, it is valid for DevSound to request more audio data in a different buffer to the one supplied to it.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TInt iReferenceAudioSamplesPlayed;
Holds the number of samples played on audio output at a point where we want to reference play duration from.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TInt iReferenceAudioSamplesRecorded;
Holds the number of samples recorded from audio input at a point where we want to reference record duration from.
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: CCompleteCallback * iCompleteCallback;
Pointer to internal callback completion class
Interface status: | deprecated | Inherited from: CMMFDataPath |
protected: TInt iBuffersToUse;
Holds the outcome of the call to DetermineBuffersToUseL