mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioDecoder.cpp
equal
deleted
inserted
replaced
591 // we could be decoding from the temp holding buffer in the codec. |
591 // we could be decoding from the temp holding buffer in the codec. |
592 // setting buffer status to EBeingEmptied indicates we are done with the buffer. |
592 // setting buffer status to EBeingEmptied indicates we are done with the buffer. |
593 // it will be sent for refill later by NextSharedBufferL(). |
593 // it will be sent for refill later by NextSharedBufferL(). |
594 static_cast<CMMFDataBuffer*>(iNextBuffer)->SetStatus(EBeingEmptied); |
594 static_cast<CMMFDataBuffer*>(iNextBuffer)->SetStatus(EBeingEmptied); |
595 NextSharedBufferL(); |
595 NextSharedBufferL(); |
|
596 //added to send only 8kb of data to devsound for aac during progressive download,fix for ou1cimx1#447299 |
|
597 if(IsDecodingSufficient() && !(iObserver->IsTimePosSeekable())) |
|
598 { |
|
599 |
|
600 moreProcessing=EFalse; |
|
601 } |
|
602 |
596 // length can only be <= maxlength |
603 // length can only be <= maxlength |
597 if (dstlength == dstmaxlength) |
604 if (dstlength == dstmaxlength) |
598 { |
605 { |
599 moreProcessing = EFalse; |
606 moreProcessing = EFalse; |
600 } |
607 } |
800 break; |
807 break; |
801 } |
808 } |
802 return stat; |
809 return stat; |
803 } |
810 } |
804 |
811 |
|
812 EXPORT_C TBool CAdvancedAudioDecoder::IsDecodingSufficient() |
|
813 { |
|
814 DP0(_L("CAdvancedAudioDecoder::IsDecodingSufficient")); |
|
815 return EFalse; |
|
816 } |
|
817 //added |
805 |
818 |
806 // End of file |
819 // End of file |