mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/3gpDataSourceAdapter/Src/3gpDataSourceAdapter.cpp
equal
deleted
inserted
replaced
252 User::LeaveIfError(iMMDataSource->SetObserver(*this)); |
252 User::LeaveIfError(iMMDataSource->SetObserver(*this)); |
253 User::LeaveIfError(iMMDataSource->Open()); |
253 User::LeaveIfError(iMMDataSource->Open()); |
254 } |
254 } |
255 if ((iSourceType == KUidMmfFileSource) || (iSourceType == KOldProgDLSourceUid)) |
255 if ((iSourceType == KUidMmfFileSource) || (iSourceType == KOldProgDLSourceUid)) |
256 { // parser has file handle |
256 { // parser has file handle |
|
257 if (iSourceType == KUidMmfFileSource) |
|
258 { |
|
259 iIsLocalPlayback = ETrue; |
|
260 } |
257 // read async from lib when it has a file handle |
261 // read async from lib when it has a file handle |
258 iClip = static_cast<CMMFClip*>(iDataSource); |
262 iClip = static_cast<CMMFClip*>(iDataSource); |
259 iDataSource->SourcePrimeL(); |
263 iDataSource->SourcePrimeL(); |
260 iIsProtected = static_cast<CMMFFile*>(iDataSource)->IsProtectedL(); |
264 iIsProtected = static_cast<CMMFFile*>(iDataSource)->IsProtectedL(); |
261 iClip->SourceThreadLogon(*aAsyncEventHandler); |
265 iClip->SourceThreadLogon(*aAsyncEventHandler); |