mmserv/voipaudioservices/VoIPIntfc/src/VoIPFormatIntfc.cpp
changeset 55 e267340986c9
parent 0 71ca22bcf22a
equal deleted inserted replaced
52:4ce423f34688 55:e267340986c9
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  VOIP Audio Services
    14  * Description:  VOIP Audio Services
    15 *
    15  *
    16 */
    16  */
    17 
       
    18 
    17 
    19 #include <voipformatintfc.h>
    18 #include <voipformatintfc.h>
    20 #include "VoIPFormatIntfcImpl.h"
    19 #include "VoIPFormatIntfcImpl.h"
    21 
       
    22 
    20 
    23 // ---------------------------------------------------------------------------
    21 // ---------------------------------------------------------------------------
    24 // CVoIPFormatIntfc::~CVoIPFormatIntfc
    22 // CVoIPFormatIntfc::~CVoIPFormatIntfc
    25 // ---------------------------------------------------------------------------
    23 // ---------------------------------------------------------------------------
    26 //
    24 //
   108 // ---------------------------------------------------------------------------
   106 // ---------------------------------------------------------------------------
   109 // CVoIPFormatIntfc::FrameModeRequiredForErrorConcealment
   107 // CVoIPFormatIntfc::FrameModeRequiredForErrorConcealment
   110 // ---------------------------------------------------------------------------
   108 // ---------------------------------------------------------------------------
   111 //
   109 //
   112 EXPORT_C TInt CVoIPFormatIntfc::FrameModeRequiredForErrorConcealment(
   110 EXPORT_C TInt CVoIPFormatIntfc::FrameModeRequiredForErrorConcealment(
   113                                 TBool& aMode)
   111         TBool& aMode)
   114     {
   112     {
   115     TInt err = iVoIPFormatIntfcImpl->FrameModeRequiredForErrorConcealment(aMode);
   113     TInt err = iVoIPFormatIntfcImpl->FrameModeRequiredForErrorConcealment(
       
   114             aMode);
   116     return err;
   115     return err;
   117     }
   116     }
   118 
   117 
   119 // ---------------------------------------------------------------------------
   118 // ---------------------------------------------------------------------------
   120 // CVoIPFormatIntfc::SetFrameMode
   119 // CVoIPFormatIntfc::SetFrameMode
   144     {
   143     {
   145     TInt err = iVoIPFormatIntfcImpl->ConcealErrorForNextBuffer();
   144     TInt err = iVoIPFormatIntfcImpl->ConcealErrorForNextBuffer();
   146     return err;
   145     return err;
   147     }
   146     }
   148 
   147 
   149 
       
   150 // End of file
   148 // End of file