Week 12 contribution of API Specs and fix SDK submission
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --><!-- This component and the accompanying materials are made available under the terms of the License "Eclipse Public License v1.0" which accompanies this distribution, and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --><!-- Initial Contributors: Nokia Corporation - initial contribution.Contributors: --><!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-10-1-19-1-1-6-1-7-1-6-1-5-1" xml:lang="en"><title>MmfExCodec:Multimedia Framework codec plug-in example</title><prolog><metadata><keywords/></metadata></prolog><conbody><section><title>Description</title> <p> <filepath>MmfExCodec</filepath> demonstrateshow to implement a codec plug-in for the Multimedia Framework. A codec convertsmedia data in one encoding into another encoding. The example converts audiodata encoded with PCM8 into PCM16. </p> <p>The program is an ECom plug-inthat implements the codec interface <codeph>CMMFCodec</codeph> by the class <codeph>CMMFExPcm8Pcm16Codec</codeph>.When a client or media format requires a PCM8 to PCM16 codec, the MultimediaFramework will instantiate a <codeph>CMMFExPcm8Pcm16Codec</codeph> object,and call its <codeph>ProcessL()</codeph> member function to convert data supplieda source buffer. As converting PCM8 into PCM16 only requires expanding eachbyte in the source buffer into two bytes in the destination buffer, <codeph>CMMFExPcm8Pcm16Codec::ProcessL()</codeph> isnot very complex. </p> </section><section id="GUID-98F50184-E319-592D-A350-785799248B3C-GENID-1-10-1-19-1-1-6-1-7-1-6-1-5-1-2-2"><title>Download</title> <p>Clickon the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-03d20b19-4462-40f7-bb6a-d91aaeea30b0.zip" scope="external"> MmfExCodec.zip file</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-03d20b19-4462-40f7-bb6a-d91aaeea30b0.html" scope="peer">browse </xref> to view the example code. </p> </section><section><title>Class summary</title><p> <xref href="GUID-18F4082A-D301-3007-88DD-0E13AB81C74A.dita"><apiname>CMMFCodec </apiname></xref> <xref href="GUID-AE26E6A4-C1AD-3B35-B5F7-CE0AB60169BB.dita"><apiname>CMMFDataBuffer </apiname></xref> </p></section></conbody></concept>