we know that CMMFDevSound owns the hardware device(CMMFHwDevice derived object). The devsound calls Start method of hwdevice. and this starts the buffer flow between devsound and hwdevice.
In case of audio playback, hwdevice calls FillThisHwBuffer of its observer. then devsound calls the ThisHwBufferFilled on the hwdevice. After decoding, when i call EmptyThisHwBuffer, I receive RecordError in my DataSink.
First thing to note is.. I receive EDevDecode and EDevOutFlow in the Start method of my Hwdevice during playback. Isnt that I should recieve EDevInFlow in case of decode?? Iam doubtful on this behavior.
Second thing is Why am i receiving RecordError with KErrGeneral when am in playback mode.
Please suggest me on this behavior