void CWakeupEngineManager::set_assistant_activated(string appid, bool activated)
{
- MWR_LOGI("[ENTER] : %s %d", appid.c_str(), activated);
+ MWR_LOGE("[ENTER] : %s %d", appid.c_str(), activated);
for (auto& info : mEngineInfo) {
const auto& iter = find_if(info.assistant_list.begin(), info.assistant_list.end(),
[appid](const string& assistant) {
void CWakeupEngineManager::streaming_speech_data_thread_func()
{
- MWR_LOGI("[ENTER]");
+ MWR_LOGE("[ENTER]");
if (nullptr == mSelectedEngine) {
MWR_LOGE("No Engine Selected");
}
if (MAS_SPEECH_STREAMING_EVENT_FINISH == speech_data.event) {
- MWR_LOGI("[INFO] Finish to get and send speech data");
+ MWR_LOGE("[INFO] Finish to get and send speech data");
finish_event_sent = true;
break;
}
unsigned char final_buffer[2] = {'\0', };
for (const auto& observer : mObservers) {
if (observer) {
- MWR_LOGI("No FINISH event sent yet, adding to finalize streaming session");
+ MWR_LOGE("No FINISH event sent yet, adding to finalize streaming session");
if (!observer->on_streaming_audio_data(
MAS_SPEECH_STREAMING_EVENT_FINISH, final_buffer, sizeof(final_buffer))) {
LOGE("[Recorder WARNING] One of the observer returned false");
#endif
}
- MWR_LOGI("[EXIT]");
+ MWR_LOGE("[EXIT]");
}
void CWakeupEngineManager::start_streaming_current_utterance_data()