mmmw_plat/telephony_multimedia_service_api/inc/tmsclientsource.h
branchRCL_3
changeset 12 2eb3b066cc7d
parent 0 71ca22bcf22a
equal deleted inserted replaced
11:3570217d8c21 12:2eb3b066cc7d
    66      *
    66      *
    67      * @param  user_data
    67      * @param  user_data
    68      *      Any user data passed to the function.
    68      *      Any user data passed to the function.
    69      *
    69      *
    70      * @return
    70      * @return
    71      *      TMS_RESULT_SUCCESS if the operation was successful.
    71      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
    72      *      system error.
    72      *      TMS_RESULT_ALREADY_EXIST if the obsrvr is already in the list.
    73      *      TMS_RESULT_ALREADY_EXIST if the obsrvr is already in the list.
    73      *
    74      *
    74      */
    75      */
    75     IMPORT_C gint AddObserver(TMSClientSourceObserver& obsrvr,
    76     IMPORT_C gint AddObserver(TMSClientSourceObserver& obsrvr,
    76             gpointer user_data);
    77             gpointer user_data);
   138      *
   139      *
   139      * @param  enable
   140      * @param  enable
   140      *      Toggles buffer enqueuing ON and OFF.
   141      *      Toggles buffer enqueuing ON and OFF.
   141      *
   142      *
   142      * @return
   143      * @return
   143      *      TMS_RESULT_SUCCESS if the operation was successful.
   144      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   145      *      system error.
   144      *
   146      *
   145      */
   147      */
   146     IMPORT_C gint SetEnqueueMode(const gboolean enable);
   148     IMPORT_C gint SetEnqueueMode(const gboolean enable);
   147 
   149 
   148     /**
   150     /**
   165      * it ON, the client has to call SetEnqueueMode again.
   167      * it ON, the client has to call SetEnqueueMode again.
   166      *
   168      *
   167      * Has no effect in the PULL mode.
   169      * Has no effect in the PULL mode.
   168      *
   170      *
   169      * @return
   171      * @return
   170      *      TMS_RESULT_SUCCESS if the operation was successful.
   172      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   173      *      system error.
   171      *
   174      *
   172      */
   175      */
   173     IMPORT_C gint Flush();
   176     IMPORT_C gint Flush();
   174 
   177 
   175     /**
   178     /**
   183      *          TMS_SOURCE_CLIENT
   186      *          TMS_SOURCE_CLIENT
   184      *          TMS_SOURCE_MODEM
   187      *          TMS_SOURCE_MODEM
   185      *          TMS_STREAM_MIC
   188      *          TMS_STREAM_MIC
   186      *
   189      *
   187      * @return
   190      * @return
   188      *      TMS_RESULT_SUCCESS if the operation was successful.
   191      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   192      *      system error.
   189      *
   193      *
   190      */
   194      */
   191     IMPORT_C virtual gint GetType(TMSSourceType& sourcetype);
   195     IMPORT_C virtual gint GetType(TMSSourceType& sourcetype);
   192 
   196 
   193 protected:
   197 protected: