audiostubs/devsoundextensions_stubs/inc/SpeechEncoderConfigCI.h
changeset 46 e1758cbb96ac
parent 0 0ce1b5ce9557
child 9 f935d51494d1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audiostubs/devsoundextensions_stubs/inc/SpeechEncoderConfigCI.h	Mon Oct 04 00:04:35 2010 +0300
@@ -0,0 +1,104 @@
+/*
+* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Audio Stubs -
+*
+*/
+
+
+#ifndef CSPEECHENCODERCONFIGCI_H
+#define CSPEECHENCODERCONFIGCI_H
+
+// INCLUDES
+#include <e32base.h>
+#include <SpeechEncoderConfig.h>
+
+// CONSTANTS
+
+// MACROS
+
+// DATA TYPES
+
+// FUNCTION PROTOTYPES
+
+// FORWARD DECLARATIONS
+
+// CLASS DECLARATION
+
+/**
+*  ?one_line_short_description.
+*  ?other_description_lines
+*
+*  @lib ?library
+*  @since Series ?XX ?SeriesXX_version
+*/
+class CSpeechEncoderConfigCI : public CSpeechEncoderConfig
+	{
+    public:  // Constructors and destructor
+
+        /**
+        * Two-phased constructor.
+        */
+		IMPORT_C static CSpeechEncoderConfigCI* NewL();
+
+        /**
+        * Destructor.
+        */
+        IMPORT_C virtual ~CSpeechEncoderConfigCI();
+
+    public: // New functions
+
+    public: // Functions from base classes
+
+        /**
+        * From ?base_class ?member_description.
+        * @since Series ?XX ?SeriesXX_version
+        * @param ?arg1
+        * @return
+        */
+		IMPORT_C virtual TInt GetSupportedBitrates(RArray<TUint>& aSupportedBitrates);
+		IMPORT_C virtual TInt SetBitrate(TUint aBitrate);
+		IMPORT_C virtual TInt GetBitrate(TUint& aBitrate);
+		IMPORT_C virtual TInt SetVadMode(TBool aVadMode);
+		IMPORT_C virtual TInt GetVadMode(TBool& aVadMode);
+
+    protected:  // New functions
+
+    protected:  // Functions from base classes
+
+	private:
+
+        /**
+        * C++ default constructor.
+        */
+	    CSpeechEncoderConfigCI();
+
+        /**
+        * By default Symbian 2nd phase constructor is private.
+        */
+	    void ConstructL();
+
+    public:     // Data
+    protected:  // Data
+    private:    // Data
+        TUint iBitrate;
+        TBool iVadMode;
+    public:     // Friend classes
+    protected:  // Friend classes
+    private:    // Friend classes
+
+	};
+
+#endif      // CSPEECHENCODERCONFIGCI_H
+
+// End of File