break;
case ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_5:
do_ln_http_server_send_data(LN_HTTP_SERVICE_CMD_STORY_FINISH, NULL, 0);//确认结束哄睡
- ai_media_play_stop();
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ThunderBirdDialogueView::AudioPlaybackEnd: Stopped audio playback");
- ln_ws_end_audio_chat();//结束对话
+ AI_ForceInterrupt();
+ ln_ws_send_voice_chat_interrupt("退出哄睡");
ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_DIALOGUEVIEW, ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW);
break;
}
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ThunderBirdDialogueView::AudioPlaybackEnd: Stopped audio playback");
ln_ws_end_audio_chat();//结束对话
// 退出对话模式时恢复表情
+ AI_ForceInterrupt();
+ ln_ws_send_voice_chat_interrupt("退出对话");
isDialogueing = false;
ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_DIALOGUEVIEW, ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW);
if(currentSubView == ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_LISTENING)
{
// ln_parse_sleep_mode_end(json_str, (int)strlen(json_str));
ln_voice_chat_interrupt("哄睡模式结束");
+ push_sleep_mode_end_notification();
}
break;
}
case WS_CMD_AUDIO_PLAYBACK_END:
{
uapi_ln_set_audio_play_status(0);
- push_audio_playback_end_notification();
+ //push_audio_playback_end_notification();
break;
}
default: