class MMMFGetTimestamps |
This class provides an interface to configure and retrive time stamps.
Public Member Functions | |
---|---|
TInt | MmgtGetSystemTimestampForBuffer (const TTimeIntervalMicroSeconds &, TTime &) |
TInt | MmgtSetRecordSystemTimestampsEnabled ( TBool ) |
TInt | MmgtGetSystemTimestampForBuffer | ( | const TTimeIntervalMicroSeconds & | aBufferPosition, |
TTime & | aTimestamp | |||
) | const [pure virtual] |
This method returns the system timestamp corresponding to the CMMFDataBuffer with the given position within the recording stream. This timestamp is the system time at which the buffers timestamp, as returned by CMMFBuffer::TimeToPlay , was valid. This method can only be used if the recording timestamps were enabled before recording started using the SetRecordSystemTimestampsEnabled method.
const TTimeIntervalMicroSeconds & aBufferPosition | The timestamp from the buffer, as returned by CMMFBuffer::TimeToPlay. |
TTime & aTimestamp | Returns the corresponding system time, in universal time. |
TInt | MmgtSetRecordSystemTimestampsEnabled | ( | TBool | aEnable | ) | [pure virtual] |
Enable or disable support for system timestamps during recording, used for Audio / Video sync. This method can only be called after recording has been initialised, but before recording has started. Once recording is underway, the setting cannot be changed.
TBool aEnable | ETrue to enable recording timestamps, EFalse to disable it. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.