mmserv/voipaudioservices/VoIPIntfc/src/VoIPILBCEncoderIntfc.cpp
changeset 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  VOIP Audio Services
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <voipilbcencoderintfc.h>
       
    21 #include "VoIPILBCEncoderIntfcImpl.h"
       
    22 
       
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // CVoIPILBCEncoderIntfc::~CVoIPILBCEncoderIntfc
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 EXPORT_C CVoIPILBCEncoderIntfc::~CVoIPILBCEncoderIntfc()
       
    29     {
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // CVoIPILBCEncoderIntfc::CVoIPILBCEncoderIntfc
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 CVoIPILBCEncoderIntfc::CVoIPILBCEncoderIntfc()
       
    37     {
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // CVoIPILBCEncoderIntfc::ConstructL
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 void CVoIPILBCEncoderIntfc::ConstructL(
       
    45                             CVoIPILBCEncoderIntfcImpl* aFormatIntfcImpl)
       
    46     {
       
    47     iFormatIntfcImpl = aFormatIntfcImpl;
       
    48     CVoIPFormatIntfc::ConstructL(iFormatIntfcImpl);
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // CVoIPILBCEncoderIntfc::SetMode
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 EXPORT_C TInt CVoIPILBCEncoderIntfc::SetMode(TILBCCodecMode aMode)
       
    56     {
       
    57     TInt err = iFormatIntfcImpl->SetMode(aMode);
       
    58     return err;
       
    59     }
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 // CVoIPILBCEncoderIntfc::GetMode
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 EXPORT_C TInt CVoIPILBCEncoderIntfc::GetMode(TILBCCodecMode& aMode)
       
    66     {
       
    67     TInt err = iFormatIntfcImpl->GetMode(aMode);
       
    68     return err;
       
    69     }
       
    70 
       
    71 
       
    72 // End of file