mmappcomponents/harvester/metadataextractor/src/mpxfileinfoutility.cpp
branchRCL_3
changeset 67 16db3449d7ba
parent 56 63223d4fd956
equal deleted inserted replaced
63:91d5ad76f5c6 67:16db3449d7ba
    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: e003sa33#5.1.3.1.10 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: da1mmcf#5.1.3.1.8 % << 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 Helix controller
    84     // delete non cached controller
    85     if( iController && ( iCurrentControllerUid == 0x10207B65 ) )
    85     if(iController)
    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));
   166     CleanupStack::PopAndDestroy(buf);
   169     CleanupStack::PopAndDestroy(buf);
   167     
   170     
   168     MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()--->");
   171     MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()--->");
   169     
   172     
   170     }
   173     }