--- a/khronosfws/openmax_al/src/mmf_adaptation/sfmrlocaltimer.cpp Thu May 27 13:20:50 2010 +0300
+++ b/khronosfws/openmax_al/src/mmf_adaptation/sfmrlocaltimer.cpp Wed Jun 23 18:47:10 2010 +0300
@@ -1,33 +1,31 @@
/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-// sfmrlocaltimer.cpp
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description: Local timer to update position for recording
+ *
+ */
#include "sfmrlocaltimer.h"
-extern "C" {
+extern "C"
+ {
#include "xarecorditfadaptationmmf.h"
-}
+ }
#include "cmmfbackendengine.h"
-
-LocalTimer::LocalTimer(CMMFBackendEngine* parent, void* adaptContext)
-:CActive(CActive::EPriorityStandard),
-iTime(0)
+LocalTimer::LocalTimer(CMMFBackendEngine* parent, void* adaptContext) :
+ CActive(CActive::EPriorityStandard), iTime(0)
{
CActiveScheduler::Add(this);
iParent = parent;
@@ -77,11 +75,11 @@
{
if (iStatus == KErrNone)
{
- iTime+= iDelay;
+ iTime += iDelay;
XAuint64 position;
iParent->GetRecordPosition(&position);
-
- XARecordItfAdaptMMF_PositionUpdate(iAdaptContext,position);
+
+ XARecordItfAdaptMMF_PositionUpdate(iAdaptContext, position);
Start(iDelay);
}
}