I am using CMdaAudioOutputStream for streaming the 16bit PCM data. Actually I am getting this data from MP3 decoder, which gives 16bit PCM in 4608 bytes buffers.

I am using the following properties for output stream

iStream->SetAudioPropertiesL(TMdaAudioDataSettings::ESampleRate44100Hz,TMdaAudioDataSettings::EChannelsStereo);
iStream->SetVolume(iStream->MaxVolume());
iStream->SetPriority(EPriorityNormal,EMdaPriorityPreferenceNone);

I am passing the buffer of 4608 (buffer address 0x59144000), but in MaoscBufferCopied I am getting 0x00501dc0 with error code 0(KErrNone).

Can any one guide me to the solution.

Thanks and regards,
Venkat