mmmw_plat/telephony_multimedia_service_api/inc/tmsg711format.h
branchRCL_3
changeset 18 2eb3b066cc7d
parent 0 71ca22bcf22a
equal deleted inserted replaced
17:3570217d8c21 18:2eb3b066cc7d
    57      *
    57      *
    58      * @param  mode
    58      * @param  mode
    59      *      Sets selected G.711 encoding or decoding mode.
    59      *      Sets selected G.711 encoding or decoding mode.
    60 
    60 
    61      * @return
    61      * @return
    62      *      TMS_RESULT_SUCCESS if the operation was successful.
    62      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
    63      *      system error.
    63      *      TMS_RESULT_INVALID_STATE if this method is used during active
    64      *      TMS_RESULT_INVALID_STATE if this method is used during active
    64      *      encoding or decoding operation.
    65      *      encoding or decoding operation.
    65      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
    66      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
    66      *      by the adaptation.
    67      *      by the adaptation.
    67      *
    68      *
    80      *
    81      *
    81      * @param  mode
    82      * @param  mode
    82      *      Returns current G.711 encoding or decoding mode.
    83      *      Returns current G.711 encoding or decoding mode.
    83 
    84 
    84      * @return
    85      * @return
    85      *      TMS_RESULT_SUCCESS if the operation was successful.
    86      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
    87      *      system error.
    86      *
    88      *
    87      */
    89      */
    88     IMPORT_C gint GetMode(TMSG711CodecMode& mode);
    90     IMPORT_C gint GetMode(TMSG711CodecMode& mode);
    89 
    91 
    90     /**
    92     /**
    96      *
    98      *
    97      * @param  cng
    99      * @param  cng
    98      *      Sets CNG feature on or off.
   100      *      Sets CNG feature on or off.
    99      *
   101      *
   100      * @return
   102      * @return
   101      *      TMS_RESULT_SUCCESS if the operation was successful.
   103      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   104      *      system error.
   102      *      TMS_RESULT_INVALID_STATE if this method is used during active
   105      *      TMS_RESULT_INVALID_STATE if this method is used during active
   103      *      decoding operation.
   106      *      decoding operation.
   104      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   107      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   105      *      by the adaptation.
   108      *      by the adaptation.
   106      *
   109      *
   115      *
   118      *
   116      * @param  cng
   119      * @param  cng
   117      *      Current CNG setting of the decoder.
   120      *      Current CNG setting of the decoder.
   118      *
   121      *
   119      * @return gint
   122      * @return gint
   120      *      TMS_RESULT_SUCCESS if the operation was successful.
   123      *      TMS_RESULT_SUCCESS if the operation was successful otherwise system error..
   121      *
   124      *
   122      */
   125      */
   123     IMPORT_C gint GetCNG(gboolean& cng);
   126     IMPORT_C gint GetCNG(gboolean& cng);
   124 
   127 
   125     /**
   128     /**
   131      *
   134      *
   132      * @param  plc
   135      * @param  plc
   133      *      Sets PLC feature on or off.
   136      *      Sets PLC feature on or off.
   134      *
   137      *
   135      * @return
   138      * @return
   136      *      TMS_RESULT_SUCCESS if the operation was successful.
   139      *      TMS_RESULT_SUCCESS if the operation was successful otherwise system error..
   137      *      TMS_RESULT_INVALID_STATE if this method is used during active
   140      *      TMS_RESULT_INVALID_STATE if this method is used during active
   138      *      decoding operation.
   141      *      decoding operation.
   139      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   142      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   140      *      by the adaptation.
   143      *      by the adaptation.
   141      *
   144      *
   149      *
   152      *
   150      * @param  plc
   153      * @param  plc
   151      *      Current CNG setting of the decoder.
   154      *      Current CNG setting of the decoder.
   152      *
   155      *
   153      * @return
   156      * @return
   154      *      TMS_RESULT_SUCCESS if the operation was successful.
   157      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   158      *      system error.
   155      *
   159      *
   156      */
   160      */
   157     IMPORT_C gint GetPlc(gboolean& plc);
   161     IMPORT_C gint GetPlc(gboolean& plc);
   158 
   162 
   159     /**
   163     /**
   164      *
   168      *
   165      * @param  vad
   169      * @param  vad
   166      *      Sets VAD feature on or off.
   170      *      Sets VAD feature on or off.
   167      *
   171      *
   168      * @return
   172      * @return
   169      *      TMS_RESULT_SUCCESS if the operation was successful.
   173      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   174      *      system error.
   170      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   175      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   171      *      by the adaptation.
   176      *      by the adaptation.
   172      *
   177      *
   173      */
   178      */
   174     IMPORT_C gint SetVADMode(const gboolean vad);
   179     IMPORT_C gint SetVADMode(const gboolean vad);
   180      *
   185      *
   181      * @param  vad
   186      * @param  vad
   182      *      Current VAD setting of the encoder.
   187      *      Current VAD setting of the encoder.
   183      *
   188      *
   184      * @return
   189      * @return
   185      *      TMS_RESULT_SUCCESS if the operation was successful.
   190      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   191      *      system error.
   186      *
   192      *
   187      */
   193      */
   188     IMPORT_C gint GetVADMode(gboolean& vad);
   194     IMPORT_C gint GetVADMode(gboolean& vad);
   189 
   195 
   190 protected:
   196 protected: