MMF framework- how to pass data in buffers?

Login to reply to this topic.
Sat, 2003-12-27 11:22
Joined: 2003-12-18
Forum posts: 2
Hello,

This is relating to MMF framework. I would like to know if there is an API which accepts encoded data in a buffer in one format and return the decoded data in some other buffer. I dont seem to be finding any such API.
I was working specifically with the CMdaAudioConvertUtility. Any hints?

Thanks
Richa

Fri, 2006-02-10 13:43
Joined: 2005-09-15
Forum posts: 20
Re: MMF framework- how to pass data in buffers?
Hi,

  There is no API which wil accept encoded data as the input and gives out a decoded data.Infact symbain provides you the framework called MMF ( see SDK for details) wherein you can put in your codec plugin and a controller plugin can be created which will detect your incoming encoded file format and hands it over to the codec plugin( if its registered)
Wed, 2006-02-15 21:00
Joined: 2005-01-24
Forum posts: 76
Re: MMF framework- how to pass data in buffers?
Hi

That's what a codec is for.

The MMF framework supports a wide variety of encoded media through plug-in codecs.  This allows additional media types to be supported by just adding another DLL codec plug-in to the framework.

These codecs are usable from client applications by instantiating a suitable plug-in codec for the media you're using.  Codecs are usable through the CMMFCodec API which all plug-in codecs implement.

Codecs are identified by something called FourCC codes.  These codes are used to advertise the media types a codec processes.  These are available in <MmfFourCC.h> for the vast majority of supported media types.

Hope this helps.

Regards.

Andy Smiley
  • Login to reply to this topic.