mpx/playbackframework/playbackengine/inc/mpxplaybackengine.h
changeset 20 b1fb57be53fe
parent 0 a2952bb97e68
child 15 d240f0a77280
equal deleted inserted replaced
4:d45095c2f4f3 20:b1fb57be53fe
   922     *  @param aFile, file handle
   922     *  @param aFile, file handle
   923     *  @param aAccessPoint aAccessPoint
   923     *  @param aAccessPoint aAccessPoint
   924     */
   924     */
   925     void Init64L(RFile64* aFile, TInt aAccessPoint=0);
   925     void Init64L(RFile64* aFile, TInt aAccessPoint=0);
   926 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   926 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
   927     /**
       
   928     *  Callback for sync message timer
       
   929     *
       
   930     *  @since 9.2    
       
   931     *  @param this
       
   932     *  @return systme error
       
   933     */         
       
   934     static TInt SyncMsgTimerCallback(TAny* aPtr);
       
   935     /**
       
   936     *  Cancel the sync message timer
       
   937     *
       
   938     *  @since 9.2    
       
   939     */    
       
   940     void CancelSyncMsgTimer();    
       
   941     /**
       
   942     *  Stop the wait loop
       
   943     *
       
   944     *  @since 9.2    
       
   945     */    
       
   946     void StopWaitLoop();
       
   947     /**
       
   948      * Handle a synchronous message
       
   949      * 
       
   950      * @since 9.2
       
   951      * @param aMsg, message
       
   952      * @return system error
       
   953      */
       
   954     TInt HandlePlaybackSyncMessage (const CMPXMessage& aMsg);
   927     
   955     
   928 private:
   956 private:
   929     friend class TCallbackReflector;
   957     friend class TCallbackReflector;
   930     friend class CMPXPlaybackInitializer;
   958     friend class CMPXPlaybackInitializer;
   931 
   959 
   990     TProcessId iLastActiveProcess; // Last active process for this engine
  1018     TProcessId iLastActiveProcess; // Last active process for this engine
   991     TProcessId iLastInactiveProcess; // Last inactive process for this engine
  1019     TProcessId iLastInactiveProcess; // Last inactive process for this engine
   992     TBool iInitVolume;  // Initialize volume on first creation
  1020     TBool iInitVolume;  // Initialize volume on first creation
   993     // the index which be firstly saved when request media
  1021     // the index which be firstly saved when request media
   994     TInt iFirstRequestMediaIndex; 
  1022     TInt iFirstRequestMediaIndex; 
       
  1023     CPeriodic* iSyncMsgTimer;  //timer for sync message
       
  1024     CActiveSchedulerWait* iSyncMsgWait;  // wait loop use to sync message    
   995 #if defined(__HIGH_RESOLUTION_VOLUME)
  1025 #if defined(__HIGH_RESOLUTION_VOLUME)
   996     // flag to indicate whether the volume setting has been rounded up last
  1026     // flag to indicate whether the volume setting has been rounded up last
   997     // used to adjust volume up button setting 
  1027     // used to adjust volume up button setting 
   998     TBool iVolRoundedUp;
  1028     TBool iVolRoundedUp;
   999 #endif
  1029 #endif