mmserv/voipaudioservices/VoIPIntfc/src/VoIPJitterBufferIntfc.cpp
changeset 53 eabc8c503852
parent 0 71ca22bcf22a
equal deleted inserted replaced
48:a493a607b5bf 53:eabc8c503852
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 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 Service
    14  * Description: VOIP Audio Service
    15 *
    15  *
    16 */
    16  */
    17 
       
    18 
    17 
    19 #include <voipjitterbufferintfc.h>
    18 #include <voipjitterbufferintfc.h>
    20 #include "VoIPJitterBufferIntfcImpl.h"
    19 #include "VoIPJitterBufferIntfcImpl.h"
    21 
       
    22 
    20 
    23 // ---------------------------------------------------------------------------
    21 // ---------------------------------------------------------------------------
    24 // CVoIPJitterBufferIntfc::~CVoIPJitterBufferIntfc
    22 // CVoIPJitterBufferIntfc::~CVoIPJitterBufferIntfc
    25 // ---------------------------------------------------------------------------
    23 // ---------------------------------------------------------------------------
    26 //
    24 //
    39 // ---------------------------------------------------------------------------
    37 // ---------------------------------------------------------------------------
    40 // CVoIPJitterBufferIntfc::ConstructL
    38 // CVoIPJitterBufferIntfc::ConstructL
    41 // ---------------------------------------------------------------------------
    39 // ---------------------------------------------------------------------------
    42 //
    40 //
    43 void CVoIPJitterBufferIntfc::ConstructL(
    41 void CVoIPJitterBufferIntfc::ConstructL(
    44     CVoIPJitterBufferIntfcImpl* aVoIPJitterBufferIntfcImpl)
    42         CVoIPJitterBufferIntfcImpl* aVoIPJitterBufferIntfcImpl)
    45     {
    43     {
    46     iVoIPJitterBufferIntfcImpl = aVoIPJitterBufferIntfcImpl;
    44     iVoIPJitterBufferIntfcImpl = aVoIPJitterBufferIntfcImpl;
    47     }
    45     }
    48 
    46 
    49 // ---------------------------------------------------------------------------
    47 // ---------------------------------------------------------------------------
    50 // CVoIPJitterBufferIntfc::SetObserver
    48 // CVoIPJitterBufferIntfc::SetObserver
    51 // ---------------------------------------------------------------------------
    49 // ---------------------------------------------------------------------------
    52 //
    50 //
    53 EXPORT_C TInt CVoIPJitterBufferIntfc::SetObserver(
    51 EXPORT_C TInt CVoIPJitterBufferIntfc::SetObserver(
    54     MVoIPJitterBufferObserver& aObserver)
    52         MVoIPJitterBufferObserver& aObserver)
    55     {
    53     {
    56     TInt err = iVoIPJitterBufferIntfcImpl->SetObserver(aObserver);
    54     TInt err = iVoIPJitterBufferIntfcImpl->SetObserver(aObserver);
    57     return err;
    55     return err;
    58     }
    56     }
    59 
    57 
    60 // ---------------------------------------------------------------------------
    58 // ---------------------------------------------------------------------------
    61 // CVoIPJitterBufferIntfc::ConfigureJitterBuffer
    59 // CVoIPJitterBufferIntfc::ConfigureJitterBuffer
    62 // ---------------------------------------------------------------------------
    60 // ---------------------------------------------------------------------------
    63 //
    61 //
    64 EXPORT_C TInt CVoIPJitterBufferIntfc::ConfigureJitterBuffer(
    62 EXPORT_C TInt CVoIPJitterBufferIntfc::ConfigureJitterBuffer(
    65                                       const TVoIPJBConfig& aJbConfig)
    63         const TVoIPJBConfig& aJbConfig)
    66     {
    64     {
    67     TInt err = iVoIPJitterBufferIntfcImpl->ConfigureJitterBuffer(aJbConfig);
    65     TInt err = iVoIPJitterBufferIntfcImpl->ConfigureJitterBuffer(aJbConfig);
    68     return err;
    66     return err;
    69     }
    67     }
    70 
    68 
    96     {
    94     {
    97     TInt err = iVoIPJitterBufferIntfcImpl->DelayUp();
    95     TInt err = iVoIPJitterBufferIntfcImpl->DelayUp();
    98     return err;
    96     return err;
    99     }
    97     }
   100 
    98 
   101 
       
   102 // End of file
    99 // End of file