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
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 9 59758314f811
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-8D8202BB-1070-5EE2-85C0-E37AABA67340-GENID-1-8-1-18-1-1-5-1-7-1-6-1-5-1" xml:lang="en"><title>MmfExCodec:
       
    13 Multimedia Framework codec plug-in example</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <section><title>Description</title> <p> <filepath>MmfExCodec</filepath> demonstrates
       
    15 how to implement a codec plug-in for the Multimedia Framework. A codec converts
       
    16 media data in one encoding into another encoding. The example converts audio
       
    17 data encoded with PCM8 into PCM16. </p> <p>The program is an ECom plug-in
       
    18 that implements the codec interface <codeph>CMMFCodec</codeph> by the class <codeph>CMMFExPcm8Pcm16Codec</codeph>.
       
    19 When a client or media format requires a PCM8 to PCM16 codec, the Multimedia
       
    20 Framework will instantiate a <codeph>CMMFExPcm8Pcm16Codec</codeph> object,
       
    21 and call its <codeph>ProcessL()</codeph> member function to convert data supplied
       
    22 a source buffer. As converting PCM8 into PCM16 only requires expanding each
       
    23 byte in the source buffer into two bytes in the destination buffer, <codeph>CMMFExPcm8Pcm16Codec::ProcessL()</codeph> is
       
    24 not very complex. </p> </section>
       
    25 <section id="GUID-98F50184-E319-592D-A350-785799248B3C-GENID-1-8-1-18-1-1-5-1-7-1-6-1-5-1-2-2"><title>Download</title> <p>Click
       
    26 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>
       
    27 <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>
       
    28 </conbody></concept>