소스 검색

切换工作模式

xuxinyi 4 달 전
부모
커밋
5277e595f2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/application.cc

+ 1 - 1
main/application.cc

@@ -642,7 +642,7 @@ void Application::Schedule(std::function<void()> callback) {
 // The Main Loop controls the chat state and websocket connection
 // If other tasks need to access the websocket or chat state,
 // they should use Schedule to call this function
-//主循环切换首发音频
+//主循环切换首发音频:由xEventGroupWaitBits事件触发。
 void Application::MainLoop() {
     while (true) {
         auto bits = xEventGroupWaitBits(event_group_,