gst_plugins_symbian/gst/devsound/devsoundsinkwrapper.h
changeset 14 32e421e6175c
parent 2 5505e8908944
child 13 04c79585b4c7
equal deleted inserted replaced
2:5505e8908944 14:32e421e6175c
    94   	int buffersize;
    94   	int buffersize;
    95   	int volume;
    95   	int volume;
    96   	int dev_count;
    96   	int dev_count;
    97   	TInt iCallbackError;
    97   	TInt iCallbackError;
    98   	TUint32 fourcc;
    98   	TUint32 fourcc;
       
    99   	TUint32 iSamplesPlayed;
    99   	bool eosReceived;
   100   	bool eosReceived;
   100   	//sem_t mutex;
   101   	//sem_t mutex;
   101   	//RArray<TFourCC> supportedtypes;
   102   	//RArray<TFourCC> supportedtypes;
   102     CErrorConcealmentIntfc* iErrConcealmentIntfc;
   103     CErrorConcealmentIntfc* iErrConcealmentIntfc;
   103     CG711DecoderIntfc*      iG711DecoderIntfc;
   104     CG711DecoderIntfc*      iG711DecoderIntfc;
   140 	void set_volume(DevSoundWrapper* handle,int volume);
   141 	void set_volume(DevSoundWrapper* handle,int volume);
   141 
   142 
   142 	int open_devsound(DevSoundWrapper **handle);
   143 	int open_devsound(DevSoundWrapper **handle);
   143 	int open_device(DevSoundWrapper **handle);
   144 	int open_device(DevSoundWrapper **handle);
   144     int initialize_devsound(GstDevsoundSink* sink);
   145     int initialize_devsound(GstDevsoundSink* sink);
       
   146     int pause_devsound(GstDevsoundSink *ds);
       
   147     int resume_devsound(GstDevsoundSink *ds);
   145     int close_devsound(GstDevsoundSink *ds);
   148     int close_devsound(GstDevsoundSink *ds);
   146     int check_if_device_open(DevSoundWrapper *handle) ;
   149     int check_if_device_open(DevSoundWrapper *handle) ;
   147 
       
   148 	int get_ds_cb_error(DevSoundWrapper *handle);
   150 	int get_ds_cb_error(DevSoundWrapper *handle);
       
   151 #ifdef AV_SYNC
       
   152     gboolean is_timeplayed_supported(DevSoundWrapper *handle);
       
   153 #endif /*AV_SYNC*/
   149 
   154 
   150 	//Error Concealment custom interface
   155 	//Error Concealment custom interface
   151     void conceal_error_for_next_buffer(DevSoundWrapper *handle);
   156     void conceal_error_for_next_buffer(DevSoundWrapper *handle);
   152     void set_framemode(DevSoundWrapper *handle,gboolean mode);
   157     void set_framemode(DevSoundWrapper *handle,gboolean mode);
   153     int framemode_rqrd_for_ec(DevSoundWrapper *handle,gboolean* modereq);
   158     int framemode_rqrd_for_ec(DevSoundWrapper *handle,gboolean* modereq);
   173 	void populateproperties(GstDevsoundSink *ds);
   178 	void populateproperties(GstDevsoundSink *ds);
   174     void initproperties(GstDevsoundSink* ds);
   179     void initproperties(GstDevsoundSink* ds);
   175 	int pre_init_setconf(GstDevsoundSink *ds);
   180 	int pre_init_setconf(GstDevsoundSink *ds);
   176 	void getsupporteddatatypes(GstDevsoundSink *ds);
   181 	void getsupporteddatatypes(GstDevsoundSink *ds);
   177 
   182 
   178 
       
   179 #ifdef __cplusplus
   183 #ifdef __cplusplus
   180 }//extern c
   184 }//extern c
   181 #endif
   185 #endif