diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-7-1-18-1-1-4-1-9-1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-7-1-18-1-1-4-1-9-1.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,28 @@ + + + + + +MmfExCodec: +Multimedia Framework codec plug-in example +
Description

MmfExCodec demonstrates +how to implement a codec plug-in for the Multimedia Framework. A codec converts +media data in one encoding into another encoding. The example converts audio +data encoded with PCM8 into PCM16.

The program is an ECom plug-in +that implements the codec interface CMMFCodec by the class CMMFExPcm8Pcm16Codec. +When a client or media format requires a PCM8 to PCM16 codec, the Multimedia +Framework will instantiate a CMMFExPcm8Pcm16Codec object, +and call its ProcessL() member function to convert data supplied +a source buffer. As converting PCM8 into PCM16 only requires expanding each +byte in the source buffer into two bytes in the destination buffer, CMMFExPcm8Pcm16Codec::ProcessL() is +not very complex.

+
Download

Click +on the following link to download the example: MmfExCodec.zip file

Click: browse to view the example code.

+
Class summary

CMMFCodec CMMFDataBuffer

+
\ No newline at end of file