mmmw_plat/voip_audio_services_api/inc/voipg711encoderintfc.h
changeset 0 71ca22bcf22a
child 3 4f62049db6ac
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:  Defines APIs specific to G.711 encoder.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __VOIPG711ENCFORMATINTFC_H
       
    20 #define __VOIPG711ENCFORMATINTFC_H
       
    21 
       
    22 #include <voipaudiocommon.h>
       
    23 #include <voipformatintfc.h>
       
    24 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CVoIPG711EncoderIntfcImpl;
       
    28 
       
    29 
       
    30 /**
       
    31  *  CVoIPG711EncoderIntfc class
       
    32  *
       
    33  *  G.711 encoder configuration class
       
    34  *
       
    35  *  @lib VoIPAudioIntfc.dll
       
    36  *  @since S60 v5.0
       
    37  */
       
    38 class CVoIPG711EncoderIntfc : public CVoIPFormatIntfc
       
    39     {
       
    40 public:
       
    41     /**
       
    42      * Destructor
       
    43      *
       
    44      * @since S60 v5.0
       
    45      * @param none
       
    46      * @return none
       
    47      */
       
    48     IMPORT_C virtual ~CVoIPG711EncoderIntfc();
       
    49 
       
    50     /**
       
    51      * ?description
       
    52      *
       
    53      * @since S60 v5.0
       
    54      * @param TG711CodecMode
       
    55      * @return TInt
       
    56      */
       
    57     IMPORT_C TInt SetMode(TG711CodecMode aMode);
       
    58 
       
    59     /**
       
    60      * ?description
       
    61      *
       
    62      * @since S60 v5.0
       
    63      * @param TG711CodecMode&
       
    64      * @return TInt
       
    65      */
       
    66     IMPORT_C TInt GetMode(TG711CodecMode& aMode);
       
    67 
       
    68 protected:
       
    69     /**
       
    70      * Constructor
       
    71      *
       
    72      * @since S60 v5.0
       
    73      * @param none
       
    74      * @return none
       
    75      */
       
    76     CVoIPG711EncoderIntfc();
       
    77 
       
    78     /**
       
    79      * 2-nd phase constructor
       
    80      *
       
    81      * @since S60 v5.0
       
    82      * @param CVoIPG711EncoderIntfcImpl*
       
    83      * @return void
       
    84      */
       
    85     void ConstructL(CVoIPG711EncoderIntfcImpl* aFormatIntfcImpl);
       
    86 
       
    87 protected:
       
    88     CVoIPG711EncoderIntfcImpl* iFormatIntfcImpl;
       
    89 
       
    90     };
       
    91 
       
    92 
       
    93 #endif //__VOIPG711ENCFORMATINTFC_H
       
    94 
       
    95 // End of file