equal
deleted
inserted
replaced
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: This class is responsible for reading file info |
14 * Description: This class is responsible for reading file info |
15 * Version : %version: da1mmcf#5.1.3.1.8 % << Don't touch! Updated by Synergy at check-out. |
15 * Version : %version: e003sa33#5.1.3.1.10 % << Don't touch! Updated by Synergy at check-out. |
16 * |
16 * |
17 * Copyright © 2005 Nokia. All rights reserved. |
17 * Copyright © 2005 Nokia. All rights reserved. |
18 */ |
18 */ |
19 |
19 |
20 |
20 |
79 } |
79 } |
80 |
80 |
81 iMMFControllers.ResetAndDestroy(); |
81 iMMFControllers.ResetAndDestroy(); |
82 iMMFControllers.Close(); |
82 iMMFControllers.Close(); |
83 |
83 |
84 // delete non cached controller |
84 //delete non cached Helix controller |
85 if(iController) |
85 if( iController && ( iCurrentControllerUid == 0x10207B65 ) ) |
86 { |
86 { |
87 iController->Close(); |
87 iController->Close(); |
88 delete iController; |
88 delete iController; |
89 iController = NULL; |
89 iController = NULL; |
90 } |
90 } |
161 |
161 |
162 User::LeaveIfError(iController->AddDataSource(KUidMmfFileSource, |
162 User::LeaveIfError(iController->AddDataSource(KUidMmfFileSource, |
163 buf->Ptr(0), |
163 buf->Ptr(0), |
164 dataSource)); |
164 dataSource)); |
165 |
165 |
166 MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()- AddDataSink()"); |
|
167 User::LeaveIfError(iController->AddDataSink(KUidMmfAudioOutput, |
|
168 KNullDesC8)); |
|
169 CleanupStack::PopAndDestroy(buf); |
166 CleanupStack::PopAndDestroy(buf); |
170 |
167 |
171 MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()--->"); |
168 MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()--->"); |
172 |
169 |
173 } |
170 } |