List Info

Thread: CR: MMF controller failure to handle resource lost/restored error events in closed




CR: MMF controller failure to handle resource lost/restored error events in closed
user name
2008-03-27 18:26:58

"Nokia submits this code under the terms of a commercial contribution agreement
with RealNetworks, and I am authorized to contribute this code under said agreement."

Modified by: saleem.adookkattilnokia.com
 
Reviewed by: 

Date: 27-March-2008
 
Project: SymbianMmf_Rel

TSW: EMKD-7CWKEC

Synopsis: Fix to correct MMF controller failure to handle resource lost/restored events in closed state.

Overview: Upon completion of the play back MMF controller set the state to close. If the player uses DSP decoder to decode the video content MMF controller may get a resource lost/restored event from the video adapter at any state. MMF controller doesn't handle these events in closed state and forward it to higher level to handle it after changing the MM state to error state. As the state is closed there is no need to report it to higher level or change the state of controller to error state. Fix made as given in the diff file.

 
Files Modified:
 
/cvsroot/clientapps/symbianMmf/hxmmfstateclosed.cpp

Image Size and Heap Use impact: None
 
Module Release testing (STIF) : Pass
 
Test case(s) Added ; :  No

Memory leak check performed : No new leaks introduced

Platforms and Profiles Build Verified:
Profile -> helix-client-s60-32-mmf-mdf-arm
BIF branch  -> helix_restricted
SYSTEM_ID -> symbian-91-armv5
Target -> symbianMmf_rel
 
Platforms and Profiles Functionality verified: armv5, winscw
 
Branch: 210CayS,  221CayS& head

Index: hxmmfstateclosed.cpp
===================================================================
RCS file: /cvsroot/clientapps/symbianMmf/hxmmfstateclosed.cpp,v
retrieving revision 1.3.2.7
diff -u -w -r1.3.2.7 hxmmfstateclosed.cpp
--- hxmmfstateclosed.cpp    ;    21 Jun 2007 16:50:30 -0000 ;     1.3.2.7
+++ hxmmfstateclosed.cpp    ;    27 Mar 2008 20:05:43 -0000
-176,10 +176,12
     HXLOGL2(HXLOG_SMMF, "HXMMFStateClosed::ErrorOccurred");
 
     //
-    //  Partial Playback error is consumed here so return KErrNone.
+   //  Consume errors those are not an error at close state here and return KErrNone.
     //  Otherwise, pass error up since we are in the closed state
     //
-    if (ulHXCode == HXR_PARTIALPLAYBACK)
+    if (ulHXCode == HXR_PARTIALPLAYBACK ||
+        ulHXCode == HXR_DEVVIDEO_RESOURCE_RESTORED ||
+        ulHXCode == HXR_DEVVIDEO_RESOURCE_LOST)
     {
         return KErrNone;
     }

CR: undo usis generation for 210 Cays
user name
2008-03-28 16:10:57

 Undo the previous CR for 210Cays.

 Generate upgrade sis file

Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."

Modified by: ashish.as.guptanokia.com

Reviewed by:

Date: 19-Mar-2008

Project: SymbianMmf_wm

TSW-Id: TBD

Synopsis:

Currently, upgrade package files are created but upgrade sis files are not generated.

This CR fixes the same.

Files Modified:

 

clientapps/symbianMmf/audiocontroller/controllersis

clientapps/symbianMmf/videocontroller/MmfSis

clientapps/symbianMmf/wmvextcontroller/WmvExtMmfSis

 

Image Size and Heap Use impact: none

Module Release testing (STIF): Yes.

Test case(s) Added: none

Memory leak check performed: Yes, no new leaks introduced.

Platforms and Profiles Build Verified:

armv5 / helix-client-s60-32-mmf-mdf-arm

winscw / helix-client-s60-32-mmf-mdf-arm

Branch:

hxclient_2_2_1_cayennes

 

 Index: audiocontroller/controllersis

===================================================================

RCS file: /cvsroot/clientapps/symbianMmf/audiocontroller/controllersis,v

retrieving revision 1.1.2.3.2.1

diff -u -w -r1.1.2.3.2.1 controllersis

--- audiocontroller/controllersis 24 Mar 2008 15:30:28 -0000 1.1.2.3.2.1

+++ audiocontroller/controllersis 28 Mar 2008 20:49:53 -0000

-198,7 +198,6

for file in payld_rsc_files_copy:

pkg.AddFile(file, '!:\system\libs\plugins\%s' % os.path.basename(file))

-pkg.EnableUSis()

pkg.Generate()

pkg.CreateMakefile()

Index: videocontroller/MmfSis

===================================================================

RCS file: /cvsroot/clientapps/symbianMmf/videocontroller/MmfSis,v

retrieving revision 1.2.2.7.2.1

diff -u -w -r1.2.2.7.2.1 MmfSis

--- videocontroller/MmfSis 24 Mar 2008 15:30:28 -0000 1.2.2.7.2.1

+++ videocontroller/MmfSis 28 Mar 2008 20:49:53 -0000

-203,7 +203,6

for file in payld_rsc_files_copy:

pkg.AddFile(file, '!:\system\libs\plugins\%s' % os.path.basename(file))

-pkg.EnableUSis()

pkg.Generate()

pkg.CreateMakefile()

Index: wmvextcontroller/WmvExtMmfSis

===================================================================

RCS file: /cvsroot/clientapps/symbianMmf/wmvextcontroller/WmvExtMmfSis,v

retrieving revision 1.1.2.4.2.1

diff -u -w -r1.1.2.4.2.1 WmvExtMmfSis

--- wmvextcontroller/WmvExtMmfSis 24 Mar 2008 15:30:29 -0000 1.1.2.4.2.1

+++ wmvextcontroller/WmvExtMmfSis 28 Mar 2008 20:49:53 -0000

-225,7 +225,6

for file in payld_rsc_files_copy:

pkg.AddFile(file, '!:\system\libs\plugins\%s' % os.path.basename(file))

-pkg.EnableUSis()

pkg.Generate()

pkg.CreateMakefile()

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )