gst_plugins_symbian/gst/devsound/devsoundsrcwrapper.h
changeset 27 d43ce56a1534
parent 10 6f340f756486
child 28 4ed5253bb6ba
equal deleted inserted replaced
23:29ecd5cb86b3 27:d43ce56a1534
    85 {
    85 {
    86 
    86 
    87 public:
    87 public:
    88 	CActiveListener	*AL;
    88 	CActiveListener	*AL;
    89 	CActiveScheduler *as;
    89 	CActiveScheduler *as;
    90 	TInt init_complete;
    90 	//TInt init_complete;
    91 	CMMFBuffer *buffer;
    91 	CMMFBuffer *buffer;
    92 	CMMFDevSound    *dev_sound;
    92 	CMMFDevSound    *dev_sound;
    93 	TMMFCapabilities caps;
    93 	TMMFCapabilities caps;
    94   	int buffersize;
    94   	int buffersize;
    95   	int gain;
    95   	int gain;
    97   	TInt iCallbackError;
    97   	TInt iCallbackError;
    98   	TUint32 fourcc;
    98   	TUint32 fourcc;
    99   	int bufferreadpos;
    99   	int bufferreadpos;
   100   	guint* supportedbitrates;
   100   	guint* supportedbitrates;
   101   	int iSamplesRecorded;
   101   	int iSamplesRecorded;
       
   102   	TUint speechbitrate;
   102     CSpeechEncoderConfig* iSpeechEncoderConfig;
   103     CSpeechEncoderConfig* iSpeechEncoderConfig;
   103     CG711EncoderIntfc*    iG711EncoderIntfc;
   104     CG711EncoderIntfc*    iG711EncoderIntfc;
   104     CG729EncoderIntfc*    iG729EncoderIntfc;
   105     CG729EncoderIntfc*    iG729EncoderIntfc;
   105     CIlbcEncoderIntfc*    iIlbcEncoderIntfc;
   106     CIlbcEncoderIntfc*    iIlbcEncoderIntfc;
   106     CAudioInput*          iAudoInputRecord;
   107     CAudioInput*          iAudoInputRecord;
   175     int get_g729_vad_mode(DevSoundWrapperSrc *handle,TBool* aVadMode);
   176     int get_g729_vad_mode(DevSoundWrapperSrc *handle,TBool* aVadMode);
   176 
   177 
   177     int set_ilbc_encoder_mode(DevSoundWrapperSrc *handle,enum TIlbcEncodeMode aEncodeMode);
   178     int set_ilbc_encoder_mode(DevSoundWrapperSrc *handle,enum TIlbcEncodeMode aEncodeMode);
   178     int set_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean aVadMode);
   179     int set_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean aVadMode);
   179     int get_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean* aVadMode);
   180     int get_ilbc_vad_mode(DevSoundWrapperSrc *handle,gboolean* aVadMode);
   180 
   181     void update_devsound_speech_bitrate(DevSoundWrapperSrc *handle, TUint bitrate);
       
   182     
       
   183     /// getting the call back error 
       
   184     int call_back_error(DevSoundWrapperSrc* dsPtr);
   181 
   185 
   182 #ifdef __cplusplus
   186 #ifdef __cplusplus
   183 }//extern c
   187 }//extern c
   184 #endif
   188 #endif