SLOG(LOG_ERROR, TAG_STTC, "[ERROR] Permission is denied");
return STT_ERROR_PERMISSION_DENIED;
} else if (-1 == g_privilege_allowed) {
- if (false == __check_privilege_initialize()){
+ if (false == __check_privilege_initialize()) {
SLOG(LOG_ERROR, TAG_STTC, "[ERROR] privilege initialize is failed");
return STT_ERROR_PERMISSION_DENIED;
}
/* option */
bool silence_supported;
stt_option_silence_detection_e silence;
- bool credential_needed;
+ bool credential_needed;
/* state */
stt_state_e before_state;
if (NULL != recorder) {
g_recorder_list = g_slist_remove(g_recorder_list, recorder);
- if(recorder->audio_h) {
+ if (recorder->audio_h) {
audio_in_destroy(recorder->audio_h);
recorder->audio_h = NULL;
}
}
#ifdef TV_BT_MODE
- bt_hid_host_deinitialize ();
+ bt_hid_host_deinitialize();
bt_deinitialize();
#endif
STTP_ERROR_NOT_SUPPORTED_FEATURE = TIZEN_ERROR_STT | 0x05, /**< Not supported feature of current engine */
STTP_ERROR_NO_SPEECH = TIZEN_ERROR_STT | 0x06, /**< No speech while recording */
STTP_ERROR_RECORDING_TIMED_OUT = TIZEN_ERROR_STT | 0x10 /**< Recording timed out */
-}sttp_error_e;
+} sttp_error_e;
/**
* @brief Enumerations of audio type.
* @return @c true to be needed app credential, \n @c false not to be needed app credential.
*
*/
-typedef bool (* sttpe_need_app_credential)(void);
+typedef bool (*sttpe_need_app_credential)(void);
/**
* @brief Gets supporting recognition type.