mpx/playbackframework/playbackutility/src/mpxplaybackutilityimpl.cpp
changeset 2 7a9a8e73f54b
parent 0 a2952bb97e68
child 9 bee149131e4b
child 20 b1fb57be53fe
equal deleted inserted replaced
1:7f2202662322 2:7a9a8e73f54b
   365         MPX_DEBUG2("CMPXPlaybackUtility::CommandL(): cmdType = %d", cmdType);
   365         MPX_DEBUG2("CMPXPlaybackUtility::CommandL(): cmdType = %d", cmdType);
   366         if ( EPbCmdPlay == cmdType ||
   366         if ( EPbCmdPlay == cmdType ||
   367              EPbCmdPlayPause == cmdType ||
   367              EPbCmdPlayPause == cmdType ||
   368              EPbCmdStop == cmdType)
   368              EPbCmdStop == cmdType)
   369             {
   369             {
   370             aCmd.SetTObjectValueL<TProcessId>(KMPXCommandPlaybackGeneralClientPid,
   370             if( !aCmd.IsSupported( KMPXCommandPlaybackGeneralClientPid ) )
   371                                               RProcess().Id()); // current process id
   371                 {
       
   372                 aCmd.SetTObjectValueL<TProcessId> (
       
   373                        KMPXCommandPlaybackGeneralClientPid, RProcess().Id()); // current process id
       
   374                 }
   372             }
   375             }
   373         }
   376         }
   374 
   377 
   375     TBool asyncVar(ETrue); // by default command is asynchronous
   378     TBool asyncVar(ETrue); // by default command is asynchronous
   376     if (aCmd.IsSupported(KMPXCommandGeneralDoSync))
   379     if (aCmd.IsSupported(KMPXCommandGeneralDoSync))