mmserv/voipaudioservices/VoIPIntfc/inc/VoIPFormatIntfcImpl.h
changeset 0 71ca22bcf22a
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 #ifndef __VOIPFORMATINTFCIMPL_H
       
    20 #define __VOIPFORMATINTFCIMPL_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class RVoIPAudioSession;
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // CVoIPFormatIntfcImpl base class
       
    27 // -----------------------------------------------------------------------------
       
    28 NONSHARABLE_CLASS(CVoIPFormatIntfcImpl)
       
    29     {
       
    30 public:
       
    31     virtual ~CVoIPFormatIntfcImpl();
       
    32 
       
    33     TInt SetObserver(MVoIPFormatObserver& aObserver);
       
    34     TInt GetSupportedBitRates(RArray<TUint>& aArray);
       
    35     TInt SetBitRate(TUint aBitrate);
       
    36     TInt GetBitRate(TUint& aBitrate);
       
    37     TInt SetVAD(TBool aVad);
       
    38     TInt GetVAD(TBool& aVad);
       
    39     TInt FrameModeRequiredForErrorConcealment(TBool& aMode);
       
    40     TInt SetFrameMode(TBool aMode);
       
    41     TInt GetFrameMode(TBool& aMode);   //not avail. through CIs
       
    42     TInt ConcealErrorForNextBuffer();
       
    43 
       
    44 protected:
       
    45     CVoIPFormatIntfcImpl();
       
    46     void ConstructL(RVoIPAudioSession* aVoIPAudioSession);
       
    47 
       
    48 protected:
       
    49     RVoIPAudioSession*   iVoIPAudioSession;
       
    50     MVoIPFormatObserver* iObserver;
       
    51 
       
    52     };
       
    53 
       
    54 
       
    55 #endif //__VOIPFORMATINTFCIMPL_H
       
    56 
       
    57 // End of file