mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioPlayController.cpp
equal
deleted
inserted
replaced
839 iAudioUtility->SetObserver(*this); |
839 iAudioUtility->SetObserver(*this); |
840 } |
840 } |
841 |
841 |
842 // we need to block this until duration is calculated if using mmfplayutility |
842 // we need to block this until duration is calculated if using mmfplayutility |
843 iBlockDuration = EFalse; |
843 iBlockDuration = EFalse; |
844 // ou1cimx1#205863 |
|
845 if (!iDataSourceAdapter->IsLocalPlayback()) |
|
846 { |
|
847 DP0(_L("CAdvancedAudioPlayController::AddDataSourceL not file source")); |
|
848 if (iSharedBufferMaxNum <= 2) |
|
849 { |
|
850 iSharedBufferMaxNum = 3; |
|
851 } |
|
852 iSharedBufferMaxSize = iSharedBufferMaxSizeForNonSeekableSrc; |
|
853 DP2(_L("CAdvancedAudioPlayController::AddDataSourceL new iSharedBufferMaxNum[%d] iSharedBufferMaxSize[%d]"), iSharedBufferMaxNum, iSharedBufferMaxSize); |
|
854 } |
|
855 |
844 |
856 if ((!iEventsEnabled) && (!iDataSourceAdapter->OnlyHeaderPresent())) |
845 if ((!iEventsEnabled) && (!iDataSourceAdapter->OnlyHeaderPresent())) |
857 { |
846 { |
858 // recorder inserts just the header into the file before recording |
847 // recorder inserts just the header into the file before recording |
859 // we don't want to prime in this case |
848 // we don't want to prime in this case |