MMF framework- how to pass data in buffers?
| Sat, 2003-12-27 11:22 | |
|
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 |
|






Forum posts: 20
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)
Forum posts: 76
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