mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Inc/AdvancedAudioDecoder.h
branchRCL_3
changeset 19 095bea5f582e
parent 18 a36789189b53
child 20 0ac9a5310753
equal deleted inserted replaced
18:a36789189b53 19:095bea5f582e
    96         * Callback function from CAdvancedAudioDecoder to handle specified event
    96         * Callback function from CAdvancedAudioDecoder to handle specified event
    97         * @param   aEvent  the event to be handled
    97         * @param   aEvent  the event to be handled
    98         * @return  void
    98         * @return  void
    99         */
    99         */
   100         virtual void SendEvent(const TMMFEvent& aEvent) = 0;
   100         virtual void SendEvent(const TMMFEvent& aEvent) = 0;
   101         /**
       
   102         * Callback function from CAdvancedAudioDecoder to check if source is position and time seekable
       
   103         * @param   None
       
   104         * @return  TBool
       
   105         */
       
   106         virtual TBool IsTimePosSeekable() = 0;
       
   107     };
   101     };
   108     
   102     
   109 /**
   103 /**
   110 *  This is the base class for all audio converter classes.
   104 *  This is the base class for all audio converter classes.
   111 *  It contains common behaviour for all audio decoders. The audio decoder class
   105 *  It contains common behaviour for all audio decoders. The audio decoder class
   335 		IMPORT_C virtual void ProcessParseL(TMMFPtr8* aSrc, TMMFPtr8* aDst);
   329 		IMPORT_C virtual void ProcessParseL(TMMFPtr8* aSrc, TMMFPtr8* aDst);
   336 		IMPORT_C virtual TUint8* PrepareInFrame(TUint8* aSrc, TInt aSrcLen, TInt& aSrcUsed);
   330 		IMPORT_C virtual TUint8* PrepareInFrame(TUint8* aSrc, TInt aSrcLen, TInt& aSrcUsed);
   337 		IMPORT_C virtual void ParseL(TUint8* aSrc, TInt& aSrcUsed, TUint8* aDst, TInt& aDstLen);
   331 		IMPORT_C virtual void ParseL(TUint8* aSrc, TInt& aSrcUsed, TUint8* aDst, TInt& aDstLen);
   338 		virtual TInt SeekSync(TUint8* aBuf, TInt aBufLen);
   332 		virtual TInt SeekSync(TUint8* aBuf, TInt aBufLen);
   339 		virtual TInt FrameLength(const TUint8* aBuf, TInt aBufLen, TInt& aFrameLength);
   333 		virtual TInt FrameLength(const TUint8* aBuf, TInt aBufLen, TInt& aFrameLength);
   340     public:
   334 
   341 		IMPORT_C virtual TBool IsDecodingSufficient();
       
   342 	private:	
   335 	private:	
   343         /**
   336         /**
   344         * Completes own request.
   337         * Completes own request.
   345         */
   338         */
   346         void Ready(TInt aRequest);
   339         void Ready(TInt aRequest);