[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mdf/audio/dsp mdfdevsound.cpp,1.37,1.38
From:       jcroker () helixcommunity ! org
Date:       2012-04-30 13:12:41
[Download RAW message or body]

Update of /cvsroot/datatype/mdf/audio/dsp
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv23237

Modified Files:
	mdfdevsound.cpp 
Log Message:
"Nokia submits thiscode under the terms of a commercial contribution agreement with \
RealNetworks,and I am authorized to contribute this code under said agreement." 

Modifiedby:  Shubham.Baheti@nokia.com

Reviewedby:   praveen.timmashetty@nokia.com, girish.shetty@nokia.com

Date: 04/19/2011 

Project: SymbianMmf_wm

ErrorId: 779111

Synopsis: Videos: Crash "Application closed: MMFControllerProxyServer" occursafter \
resuming the playback from the beginning with TV-out cable connected.

Overview: The crashes were happening because the bufferpointer(m_pDevSoundBuffer) was \
not reset to null after getting PlayError() fromDevSound with -14. So, after \
reconnecting the TV-out cable, when we try toaccess the m_pDevSoundBuffer \
inHXMDFAudioFormat::GetMDFAudioPacket(HXMDFAudioData*, CMMFBuffer*, int&), itwas \
resulting in crash saying "Invalid Address".

Solution: After getting a PlayError() from devsound, we reset the buffer pointer \
                (m_pDevSoundBuffer) to NULL.
Filesadded: NONE 

Files modified:  
/datatype/mdf/audio/dsp/mdfdevsound.cpp
Image size andheap use impact:  No major impact

Module releasetesting (STIF):  Passed

Test case(s)added:  No  

Memory leakcheck performed:  NA 

Platforms andprofiles build verified: helix-client-s60-52-mmf-mdf-dsp   

Platforms andprofiles functionality verified:  armv5  

Branch:  210CayS, HEAD



Index: mdfdevsound.cpp
===================================================================
RCS file: /cvsroot/datatype/mdf/audio/dsp/mdfdevsound.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- mdfdevsound.cpp	28 Feb 2011 09:55:19 -0000	1.37
+++ mdfdevsound.cpp	30 Apr 2012 13:12:38 -0000	1.38
@@ -1078,6 +1078,7 @@
         m_lDevError == KErrInUse
     )
     {
+    	m_pDevSoundBuffer = NULL;
         HXLOGL2(HXLOG_MDFA, "---devsnd:PlyErr .. %d", m_lDevError);
         if ((m_devStatus == DevPaused)  ||
             (m_devStatus == DevPlaying) ||


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic