equal
deleted
inserted
replaced
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)) |