audiostubs/devsoundextensions_stubs/inc/SpeechEncoderConfigCI.h
branchRCL_3
changeset 44 b5894bb67e73
parent 35 37b610eb7fe3
equal deleted inserted replaced
35:37b610eb7fe3 44:b5894bb67e73
     1 /*
       
     2 * Copyright (c) 2002-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: Audio Stubs -
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSPEECHENCODERCONFIGCI_H
       
    20 #define CSPEECHENCODERCONFIGCI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <SpeechEncoderConfig.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 *  ?one_line_short_description.
       
    40 *  ?other_description_lines
       
    41 *
       
    42 *  @lib ?library
       
    43 *  @since Series ?XX ?SeriesXX_version
       
    44 */
       
    45 class CSpeechEncoderConfigCI : public CSpeechEncoderConfig
       
    46 	{
       
    47     public:  // Constructors and destructor
       
    48 
       
    49         /**
       
    50         * Two-phased constructor.
       
    51         */
       
    52 		IMPORT_C static CSpeechEncoderConfigCI* NewL();
       
    53 
       
    54         /**
       
    55         * Destructor.
       
    56         */
       
    57         IMPORT_C virtual ~CSpeechEncoderConfigCI();
       
    58 
       
    59     public: // New functions
       
    60 
       
    61     public: // Functions from base classes
       
    62 
       
    63         /**
       
    64         * From ?base_class ?member_description.
       
    65         * @since Series ?XX ?SeriesXX_version
       
    66         * @param ?arg1
       
    67         * @return
       
    68         */
       
    69 		IMPORT_C virtual TInt GetSupportedBitrates(RArray<TUint>& aSupportedBitrates);
       
    70 		IMPORT_C virtual TInt SetBitrate(TUint aBitrate);
       
    71 		IMPORT_C virtual TInt GetBitrate(TUint& aBitrate);
       
    72 		IMPORT_C virtual TInt SetVadMode(TBool aVadMode);
       
    73 		IMPORT_C virtual TInt GetVadMode(TBool& aVadMode);
       
    74 
       
    75     protected:  // New functions
       
    76 
       
    77     protected:  // Functions from base classes
       
    78 
       
    79 	private:
       
    80 
       
    81         /**
       
    82         * C++ default constructor.
       
    83         */
       
    84 	    CSpeechEncoderConfigCI();
       
    85 
       
    86         /**
       
    87         * By default Symbian 2nd phase constructor is private.
       
    88         */
       
    89 	    void ConstructL();
       
    90 
       
    91     public:     // Data
       
    92     protected:  // Data
       
    93     private:    // Data
       
    94         TUint iBitrate;
       
    95         TBool iVadMode;
       
    96     public:     // Friend classes
       
    97     protected:  // Friend classes
       
    98     private:    // Friend classes
       
    99 
       
   100 	};
       
   101 
       
   102 #endif      // CSPEECHENCODERCONFIGCI_H
       
   103 
       
   104 // End of File