mmserv/tms/tmsserver/src/tmsrtplayer.cpp
changeset 38 9e9fc5ab059f
parent 33 5e8b14bae8c3
child 53 eabc8c503852
equal deleted inserted replaced
36:73253677b50a 38:9e9fc5ab059f
   113     // Checks if DRM extend security is needed
   113     // Checks if DRM extend security is needed
   114     // Check video player configuration.
   114     // Check video player configuration.
   115 
   115 
   116     iEngine =  ProEngFactory::NewEngineL();
   116     iEngine =  ProEngFactory::NewEngineL();
   117 
   117 
   118     InitRtParamsL(EPlayerBackup);
   118     InitRtParams(EPlayerBackup);
   119     //CreateDefaultRingToneL();
   119     //CreateDefaultRingToneL();
   120     CreateBkpRtPlayerL();
   120     CreateBkpRtPlayerL();
   121     //GetMaxToneFileSizeL(iToneFileSizeLimitKB);
   121     //GetMaxToneFileSizeL(iToneFileSizeLimitKB);
   122 
   122 
   123     TRACE_PRN_FN_EXT;
   123     TRACE_PRN_FN_EXT;
   150 
   150 
   151     TRACE_PRN_FN_EXT;
   151     TRACE_PRN_FN_EXT;
   152     }
   152     }
   153 
   153 
   154 // -----------------------------------------------------------------------------
   154 // -----------------------------------------------------------------------------
   155 // TMSRingTonePlayer::InitRtParamsL
   155 // TMSRingTonePlayer::InitRtParams
   156 // -----------------------------------------------------------------------------
   156 // -----------------------------------------------------------------------------
   157 //
   157 //
   158 void TMSRingTonePlayer::InitRtParamsL(TRtPlayerType aPlayerType)
   158 void TMSRingTonePlayer::InitRtParams(TRtPlayerType aPlayerType)
   159     {
   159     {
   160     TRACE_PRN_FN_ENT;
   160     TRACE_PRN_FN_ENT;
   161 
   161 
   162     iRtParam.iType = aPlayerType;
   162     iRtParam.iType = aPlayerType;
   163     iRtParam.iPriority = KAudioPriorityPhoneCall;
   163     iRtParam.iPriority = KAudioPriorityPhoneCall;
   181 //
   181 //
   182 void TMSRingTonePlayer::CreateDefaultRingToneL()
   182 void TMSRingTonePlayer::CreateDefaultRingToneL()
   183     {
   183     {
   184     TRACE_PRN_FN_ENT;
   184     TRACE_PRN_FN_ENT;
   185 
   185 
   186     InitRtParamsL(EPlayerDefault);
   186     InitRtParams(EPlayerDefault);
   187     LoadProfileRingToneL();
   187     LoadProfileRingToneL();
   188 
   188 
   189     TRACE_PRN_FN_EXT;
   189     TRACE_PRN_FN_EXT;
   190     }
   190     }
   191 
   191