mmmw_plat/telephony_multimedia_service_api/inc/tmsilbcformat.h
branchRCL_3
changeset 12 2eb3b066cc7d
parent 0 71ca22bcf22a
equal deleted inserted replaced
11:3570217d8c21 12:2eb3b066cc7d
    57      *
    57      *
    58      * @param  mode
    58      * @param  mode
    59      *      Sets selected iLBC encoding or decoding mode.
    59      *      Sets selected iLBC 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      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
    68      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
    82      *
    83      *
    83      * @param  mode
    84      * @param  mode
    84      *      Returns current iLBC encoding or decoding mode.
    85      *      Returns current iLBC encoding or decoding mode.
    85      *
    86      *
    86      * @return
    87      * @return
    87      *      TMS_RESULT_SUCCESS if the operation was successful.
    88      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
    89      *      system error.
    88      *
    90      *
    89      */
    91      */
    90     IMPORT_C gint GetMode(TMSILBCCodecMode& mode);
    92     IMPORT_C gint GetMode(TMSILBCCodecMode& mode);
    91 
    93 
    92     /**
    94     /**
    98      *
   100      *
    99      * @param  cng
   101      * @param  cng
   100      *      Sets CNG feature on or off.
   102      *      Sets CNG feature on or off.
   101      *
   103      *
   102      * @return
   104      * @return
   103      *      TMS_RESULT_SUCCESS if the operation was successful.
   105      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   106      *      system error.
   104      *      TMS_RESULT_INVALID_STATE if this method is used during active
   107      *      TMS_RESULT_INVALID_STATE if this method is used during active
   105      *      decoding operation.
   108      *      decoding operation.
   106      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   109      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   107      *      by the adaptation.
   110      *      by the adaptation.
   108      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
   111      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
   119      *
   122      *
   120      * @param  cng
   123      * @param  cng
   121      *      Current CNG setting of the decoder.
   124      *      Current CNG setting of the decoder.
   122      *
   125      *
   123      * @return
   126      * @return
   124      *      TMS_RESULT_SUCCESS if the operation was successful.
   127      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   128      *      system error.
   125      *
   129      *
   126      */
   130      */
   127     IMPORT_C gint GetCNG(gboolean& cng);
   131     IMPORT_C gint GetCNG(gboolean& cng);
   128 
   132 
   129     /**
   133     /**
   134      *
   138      *
   135      * @param  vad
   139      * @param  vad
   136      *      Sets VAD feature on or off.
   140      *      Sets VAD feature on or off.
   137      *
   141      *
   138      * @return
   142      * @return
   139      *      TMS_RESULT_SUCCESS if the operation was successful.
   143      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   144      *      system error.
   140      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   145      *      TMS_RESULT_FEATURE_NOT_SUPPORTED if this method is not implemented
   141      *      by the adaptation.
   146      *      by the adaptation.
   142      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
   147      *      TMS_RESULT_DOES_NOT_EXIST if the custom interface handle does
   143      *      not exist.
   148      *      not exist.
   144      *
   149      *
   152      *
   157      *
   153      * @param  vad
   158      * @param  vad
   154      *      Current VAD setting of the encoder.
   159      *      Current VAD setting of the encoder.
   155      *
   160      *
   156      * @return
   161      * @return
   157      *      TMS_RESULT_SUCCESS if the operation was successful.
   162      *      TMS_RESULT_SUCCESS if the operation was successful otherwise
       
   163      *      system error.
   158      *
   164      *
   159      */
   165      */
   160     IMPORT_C gint GetVADMode(gboolean& vad);
   166     IMPORT_C gint GetVADMode(gboolean& vad);
   161 
   167 
   162 protected:
   168 protected: