diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-10-1-19-1-1-6-1-7-1-6-1-5-1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-10-1-19-1-1-6-1-7-1-6-1-5-1.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,28 @@ +<?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> 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. </p> <p>The program is an ECom plug-in +that 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 Multimedia +Framework will instantiate a <codeph>CMMFExPcm8Pcm16Codec</codeph> object, +and call its <codeph>ProcessL()</codeph> 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, <codeph>CMMFExPcm8Pcm16Codec::ProcessL()</codeph> is +not 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>Click +on 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> \ No newline at end of file