فهرست منبع

修改音量和任务运行内存

xuxinyi 1 هفته پیش
والد
کامیت
1220e07861
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      main/application.cc

+ 3 - 3
main/application.cc

@@ -401,7 +401,7 @@ void Application::Start() {
         return higher_priority_task_woken == pdTRUE;
     });
     codec->Start();
-    codec->SetOutputVolume(75);
+    codec->SetOutputVolume(80);
     // //此处是电量测量的代码
     // int batteryLevel;
     // bool isCharging;
@@ -417,7 +417,7 @@ void Application::Start() {
         Application* app = (Application*)arg;
         app->MainLoop();
         vTaskDelete(NULL);
-    }, "main_loop", 4096 * 2, this, 3, nullptr);
+    }, "main_loop", 4096 * 6, this, 21, nullptr);
 
     /* Wait for the network to be ready */
     board.StartNetwork();
@@ -538,7 +538,7 @@ void Application::Start() {
         vTaskDelete(NULL);
     }, "check_new_version", 4096 * 2, this, 2, nullptr);
     SetDeviceState(kDeviceStateIdle);
-    codec->SetOutputVolume(75);
+    codec->SetOutputVolume(80);
     PlaySound(Lang::Sounds::P3_LINKWIFI);
 
 #if CONFIG_USE_AUDIO_PROCESSOR