Eina_Bool tts_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handler)
{
- SLOG(LOG_DEBUG, tts_tag(), "===== Config changed callback event");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@ Config changed callback event");
int length;
struct inotify_event event;
length = read(g_config_fd_noti, &event, sizeof(struct inotify_event));
if (0 > length) {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Empty Inotify event");
- SLOG(LOG_DEBUG, tts_tag(), "=====");
- SLOG(LOG_DEBUG, tts_tag(), " ");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@");
return ECORE_CALLBACK_DONE;
}
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event (0x%x)", event.mask);
}
- SLOG(LOG_DEBUG, tts_tag(), "=====");
- SLOG(LOG_DEBUG, tts_tag(), " ");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@");
return ECORE_CALLBACK_PASS_ON;
}
static Eina_Bool __tts_config_mgr_engine_config_inotify_event_callback(void* data, Ecore_Fd_Handler *fd_handler)
{
- SLOG(LOG_DEBUG, tts_tag(), "===== Engine config updated callback event");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@ Engine config updated callback event");
tts_engine_inotify_s *ino = (tts_engine_inotify_s *)data;
int dir_fd = ino->dir_fd;
length = read(dir_fd, &event, sizeof(struct inotify_event));
if (0 > length) {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Empty Inotify event");
- SLOG(LOG_DEBUG, tts_tag(), "=====");
- SLOG(LOG_DEBUG, tts_tag(), " ");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@");
return ECORE_CALLBACK_DONE;
}
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event");
}
- SLOG(LOG_DEBUG, tts_tag(), "=====");
- SLOG(LOG_DEBUG, tts_tag(), " ");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@");
return ECORE_CALLBACK_PASS_ON;
}
}
/* print daemon config */
- SLOG(LOG_DEBUG, tts_tag(), "== TTS config ==");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@ TTS config @@@");
SECURE_SLOG(LOG_DEBUG, tts_tag(), " engine : %s", g_config_info->engine_id);
SECURE_SLOG(LOG_DEBUG, tts_tag(), " setting : %s", g_config_info->setting);
SECURE_SLOG(LOG_DEBUG, tts_tag(), " auto voice : %s", g_config_info->auto_voice ? "on" : "off");
SECURE_SLOG(LOG_DEBUG, tts_tag(), " voice type : %d", g_config_info->type);
SECURE_SLOG(LOG_DEBUG, tts_tag(), " speech rate : %d", g_config_info->speech_rate);
SECURE_SLOG(LOG_DEBUG, tts_tag(), " pitch : %d", g_config_info->pitch);
- SLOG(LOG_DEBUG, tts_tag(), "=================");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@@@");
if (0 != __tts_config_mgr_register_config_event()) {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to register config event");