gst_plugins_symbian/gst/devsound/devsoundsrcwrapper.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
--- a/gst_plugins_symbian/gst/devsound/devsoundsrcwrapper.h	Tue Aug 31 15:30:33 2010 +0300
+++ b/gst_plugins_symbian/gst/devsound/devsoundsrcwrapper.h	Wed Sep 01 12:16:41 2010 +0100
@@ -36,7 +36,6 @@
 #include <e32cons.h>
 #include <e32std.h>
 #include <e32debug.h>
-#include <AudioInput.h>
 #include <gst/gstbuffer.h>
 #include <gst/gst.h>
 
@@ -87,6 +86,7 @@
 public:
 	CActiveListener	*AL;
 	CActiveScheduler *as;
+	TInt init_complete;
 	CMMFBuffer *buffer;
 	CMMFDevSound    *dev_sound;
 	TMMFCapabilities caps;
@@ -97,13 +97,10 @@
   	TUint32 fourcc;
   	int bufferreadpos;
   	guint* supportedbitrates;
-  	int iSamplesRecorded;
-  	TUint speechbitrate;
     CSpeechEncoderConfig* iSpeechEncoderConfig;
     CG711EncoderIntfc*    iG711EncoderIntfc;
     CG729EncoderIntfc*    iG729EncoderIntfc;
     CIlbcEncoderIntfc*    iIlbcEncoderIntfc;
-    CAudioInput*          iAudoInputRecord;
 
 public:
 	DevSoundWrapperSrc();
@@ -144,9 +141,6 @@
 	int open_devsound(DevSoundWrapperSrc **handle);
     int open_device(DevSoundWrapperSrc **handle);
     int initialize_devsound(GstDevsoundSrc* ds);
-    int pause_devsound(GstDevsoundSrc *ds);
-    int stop_devsound(GstDevsoundSrc *ds);
-    int resume_devsound(GstDevsoundSrc *ds);
 	int close_devsound(GstDevsoundSrc* ds);
 
 	int SetConfigurations(DevSoundWrapperSrc *handle);
@@ -177,10 +171,7 @@
     int set_ilbc_encoder_mode(DevSoundWrapperSrc *handle,enum TIlbcEncodeMode aEncodeMode);
     int set_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean aVadMode);
     int get_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean* aVadMode);
-    void update_devsound_speech_bitrate(DevSoundWrapperSrc *handle, TUint bitrate);
-    
-    /// getting the call back error 
-    int call_back_error(DevSoundWrapperSrc* dsPtr);
+
 
 #ifdef __cplusplus
 }//extern c