mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/amraudioplaycontroller/Src/AMRAudioPlayControllerPlugin.cpp
--- a/mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/amraudioplaycontroller/Src/AMRAudioPlayControllerPlugin.cpp Wed Aug 18 10:17:22 2010 +0300
+++ b/mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/amraudioplaycontroller/Src/AMRAudioPlayControllerPlugin.cpp Thu Sep 02 20:58:01 2010 +0300
@@ -51,14 +51,13 @@
{
CAdvancedAudioPlayController::ConstructL();
- iAudioResource = CAMRAudioPlayControllerResource::NewL();
+ iAudioResource = CAMRAudioPlayControllerResource::NewL();
TAapProperties aapProperties = iAudioResource->PropertiesL();
iSharedBufferMaxNum = aapProperties.iSharedBufferMaxNum;
iSharedBufferMaxSize = aapProperties.iSharedBufferMaxSize;
iMetaDataSupport = aapProperties.iMetaDataSupport;
- iSharedBufferMaxSizeForNonSeekableSrc = aapProperties.iSharedBufferMaxSizeForNonSeekableSrc;
- iAudioUtility = CAMRAudioControllerUtility::NewL();
- iDecoderBuilder = CAMRAudioPlayControllerDecoderBuilder::NewL();
+ iAudioUtility = CAMRAudioControllerUtility::NewL();
+ iDecoderBuilder = CAMRAudioPlayControllerDecoderBuilder::NewL();
}
// -----------------------------------------------------------------------------
@@ -104,18 +103,6 @@
void CAMRAudioPlayControllerPlugin::DoAddDataSourceL()
{
DP0(_L("CAMRAudioPlayControllerPlugin::DoAddDataSourceL"));
- // ou1cimx1#205863
- if (iSourceType != KUidMmfFileSource)
- {
- DP0(_L("CAMRAudioPlayControllerPlugin::DoAddDataSourceL not file source"));
- if (iSharedBufferMaxNum <= 2)
- {
- iSharedBufferMaxNum = 3;
- }
- iSharedBufferMaxSize = iSharedBufferMaxSizeForNonSeekableSrc;
- DP2(_L("CAMRAudioPlayControllerPlugin::DoAddDataSourceL new iSharedBufferMaxNum[%d] iSharedBufferMaxSize[%d]"), iSharedBufferMaxNum, iSharedBufferMaxSize);
- }
-
}
// -----------------------------------------------------------------------------