mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioDecoder.cpp
branchRCL_3
changeset 41 a36789189b53
parent 8 e35735ece90c
child 45 095bea5f582e
--- a/mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioDecoder.cpp	Thu Jul 15 19:13:36 2010 +0300
+++ b/mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioDecoder.cpp	Thu Aug 19 10:26:11 2010 +0300
@@ -593,6 +593,13 @@
                             // it will be sent for refill later by NextSharedBufferL().
                             static_cast<CMMFDataBuffer*>(iNextBuffer)->SetStatus(EBeingEmptied);
                             NextSharedBufferL();
+                            //added to send only 8kb of data to devsound for aac during progressive download,fix for ou1cimx1#447299
+                         if(IsDecodingSufficient() && !(iObserver->IsTimePosSeekable()))
+                             {
+                              
+                              moreProcessing=EFalse;
+                             }
+                            
                             // length can only be <= maxlength
 							if (dstlength == dstmaxlength)
 								{
@@ -802,5 +809,11 @@
 	return stat;	
 	}
 
+EXPORT_C TBool CAdvancedAudioDecoder::IsDecodingSufficient()
+    {
+      DP0(_L("CAdvancedAudioDecoder::IsDecodingSufficient"));
+      return EFalse;
+    }
+//added
 
 // End of file