omxilcomp/omxilaudioemulator/pcmrenderer/src/omxilpcmrendererprocessingfunction.h
changeset 1 e0d606d6e3b1
parent 0 58be5850fb6c
equal deleted inserted replaced
0:58be5850fb6c 1:e0d606d6e3b1
    22 */
    22 */
    23 
    23 
    24 #ifndef OMXILPCMRENDERERPROCESSINGFUNCTION_H
    24 #ifndef OMXILPCMRENDERERPROCESSINGFUNCTION_H
    25 #define OMXILPCMRENDERERPROCESSINGFUNCTION_H
    25 #define OMXILPCMRENDERERPROCESSINGFUNCTION_H
    26 
    26 
    27 #include <mmf/server/mmfdatabuffer.h>
       
    28 #include "omxilpcmrendererconst.h"
    27 #include "omxilpcmrendererconst.h"
    29 #include <openmax/il/common/omxilprocessingfunction.h>
    28 #include <openmax/il/common/omxilprocessingfunction.h>
    30 #include <e32msgqueue.h> 
    29 #include <e32msgqueue.h> 
    31 
    30 
    32 // Forward declarations
    31 // Forward declarations
   104 		OMX_ERRORTYPE SetVolumeRamp(const TTimeIntervalMicroSeconds& aRampDuration);
   103 		OMX_ERRORTYPE SetVolumeRamp(const TTimeIntervalMicroSeconds& aRampDuration);
   105 		OMX_ERRORTYPE SetMuted(TBool aMuted);
   104 		OMX_ERRORTYPE SetMuted(TBool aMuted);
   106 		OMX_BUFFERHEADERTYPE* GetCurrentBuffer();
   105 		OMX_BUFFERHEADERTYPE* GetCurrentBuffer();
   107 		TInt GetBytesPlayed();
   106 		TInt GetBytesPlayed();
   108 		void ConfigAudioRamper(TInt64 aRampTime);
   107 		void ConfigAudioRamper(TInt64 aRampTime);
   109 		TBool RampAudio(CMMFDataBuffer* aBuffer);
   108 		TBool RampAudio(TDes8& aBuffer);
   110 		TBool ConstructAndStartUpdateTimer();
   109 		TBool ConstructAndStartUpdateTimer();
   111 		void ProcessNextBuffer();
   110 		void ProcessNextBuffer();
   112 		void PlayData();
   111 		void PlayData();
   113 		void ProcessMediaTimeIndication(OMX_TIME_MEDIATIMETYPE& aMediaTimeType);
   112 		void ProcessMediaTimeIndication(OMX_TIME_MEDIATIMETYPE& aMediaTimeType);
   114 		void ProcessParamIndication(const OMX_AUDIO_PARAM_PCMMODETYPE& aPcmModeType);
   113 		void ProcessParamIndication(const OMX_AUDIO_PARAM_PCMMODETYPE& aPcmModeType);