mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Inc/AdvancedAudioDecoder.h
equal
deleted
inserted
replaced
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; |
101 }; |
107 }; |
102 |
108 |
103 /** |
109 /** |
104 * This is the base class for all audio converter classes. |
110 * This is the base class for all audio converter classes. |
105 * It contains common behaviour for all audio decoders. The audio decoder class |
111 * It contains common behaviour for all audio decoders. The audio decoder class |
329 IMPORT_C virtual void ProcessParseL(TMMFPtr8* aSrc, TMMFPtr8* aDst); |
335 IMPORT_C virtual void ProcessParseL(TMMFPtr8* aSrc, TMMFPtr8* aDst); |
330 IMPORT_C virtual TUint8* PrepareInFrame(TUint8* aSrc, TInt aSrcLen, TInt& aSrcUsed); |
336 IMPORT_C virtual TUint8* PrepareInFrame(TUint8* aSrc, TInt aSrcLen, TInt& aSrcUsed); |
331 IMPORT_C virtual void ParseL(TUint8* aSrc, TInt& aSrcUsed, TUint8* aDst, TInt& aDstLen); |
337 IMPORT_C virtual void ParseL(TUint8* aSrc, TInt& aSrcUsed, TUint8* aDst, TInt& aDstLen); |
332 virtual TInt SeekSync(TUint8* aBuf, TInt aBufLen); |
338 virtual TInt SeekSync(TUint8* aBuf, TInt aBufLen); |
333 virtual TInt FrameLength(const TUint8* aBuf, TInt aBufLen, TInt& aFrameLength); |
339 virtual TInt FrameLength(const TUint8* aBuf, TInt aBufLen, TInt& aFrameLength); |
334 |
340 public: |
|
341 IMPORT_C virtual TBool IsDecodingSufficient(); |
335 private: |
342 private: |
336 /** |
343 /** |
337 * Completes own request. |
344 * Completes own request. |
338 */ |
345 */ |
339 void Ready(TInt aRequest); |
346 void Ready(TInt aRequest); |