MMMFGetTimestamps Class Reference
This class provides an interface to configure and retrive time stamps.
Member Functions Documentation
MmgtGetSystemTimestampForBuffer(const TTimeIntervalMicroSeconds &, TTime &)
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.
Parameters
const TTimeIntervalMicroSeconds & aBufferPosition | The timestamp from the buffer, as returned by CMMFBuffer::TimeToPlay. |
TTime & aTimestamp | Returns the corresponding system time, in universal time. |
MmgtSetRecordSystemTimestampsEnabled(TBool)
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.
Parameters
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.