diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-8-1-18-1-1-5-1-7-1-6-1-5-1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-8-1-18-1-1-5-1-7-1-6-1-5-1.dita Wed Mar 31 11:11:55 2010 +0100 @@ -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