mmserv/voipaudioservices/VoIPIntfc/inc/VoIPJitterBufferIntfcImpl.h
changeset 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 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 #ifndef __VOIPJITTERBUFFERINTFCIMPL_H
       
    20 #define __VOIPJITTERBUFFERINTFCIMPL_H
       
    21 
       
    22 #include <voipjitterbufferintfc.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class RVoIPAudioSession;
       
    26 
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CVoIPJitterBufferIntfcImpl base class
       
    30 // -----------------------------------------------------------------------------
       
    31 NONSHARABLE_CLASS(CVoIPJitterBufferIntfcImpl) : public CBase,
       
    32                                                 public CVoIPJitterBufferIntfc
       
    33     {
       
    34 public:
       
    35     static CVoIPJitterBufferIntfcImpl* NewL(RVoIPAudioSession* aVoIPAudioSession);
       
    36 
       
    37     virtual ~CVoIPJitterBufferIntfcImpl();
       
    38 
       
    39     TInt SetObserver(MVoIPJitterBufferObserver& aObserver);
       
    40     TInt ConfigureJitterBuffer(const TVoIPJBConfig& aJbConfig);
       
    41     TInt ResetJitterBuffer(TBool aPlayTone);
       
    42     TInt DelayDown();
       
    43     TInt DelayUp();
       
    44 
       
    45     void SendEventToObserver(TInt aEvent);
       
    46 
       
    47 protected:
       
    48     CVoIPJitterBufferIntfcImpl();
       
    49     void ConstructL(RVoIPAudioSession* aVoIPAudioSession);
       
    50 
       
    51 protected:
       
    52     RVoIPAudioSession*         iVoIPAudioSession;
       
    53     MVoIPJitterBufferObserver* iObserver;
       
    54 
       
    55     };
       
    56 
       
    57 #endif //__VOIPJITTERBUFFERINTFCIMPL_H
       
    58 
       
    59 
       
    60 // End of file