"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: [email protected]

Review By: [email protected]

TSW-ID: SKIM-7QV9VU

Date:  09/11/2009

Project: SymbianMmf_wm

Synopsis: Repeated AudioVideo playback in Helix causes MMFControllerProxyServer 
Thread's Heap utilization to increasing continuously.

Overview: While playing Audiovideo content in repeat mode without closing real 
player application, MMFControllerProxyThread is consuming memory continuously 
in audio path.
CHxAudioDevice and HxClientPropwatch instances are allocated and stored in 
commonRegistry for every run. This increases memory consumptions
continuously as the allocated memory is not freed up during the playback.

Fix:
Releasing CHxAudioDevice and HxclientPropWatch instances and clearing 
commonregistry entry in every run.
Files modified & changed for 223Cays, 221Cays, 210Cays and Head.
\audio\device\platform\symbian\audsymbian.cpp

Image Size and Heap Use impact: No major impact

Module Release testing (STIF) :  Yes

Test case(s) Added : No

Memory leak check performed : Passed, No additional leaks introduced.

Platforms and Profiles Build Verified: helix-client-s60-50-mmf-mdf-dsp

Platforms and Profiles Functionality verified: armv5 and winscw

Branch : 210Cays, 221Cays , 223Cays & Head

CVS Diff:  Attached for 223Cays
Index: audsymbian.cpp
===================================================================
RCS file: /cvsroot/audio/device/platform/symbian/audsymbian.cpp,v
retrieving revision 1.35.2.9.4.1
diff -u -w -r1.35.2.9.4.1 audsymbian.cpp
--- audsymbian.cpp      28 Jul 2009 08:41:38 -0000      1.35.2.9.4.1
+++ audsymbian.cpp      11 Sep 2009 09:50:50 -0000
@@ -176,6 +176,11 @@
         m_deviceOpen = false;
 
         HX_DELETE(m_pAudioStream);
+        if(m_pPropWatch)
+               {
+                       m_pPropWatch->ClearWatchByName("MMF.SecureOutput");
+                       HX_RELEASE(m_pPropWatch); 
+               } 
         HX_RELEASE(m_pDeviceResponse);
     }
 
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to