feat: Add locales with OGG sounds (#1057)

* fix jiuchuan build problem

* feat: Add locales with OGG sounds

* fix building echoear

* Support ogg files frame duration <= 60
This commit is contained in:
Xiaoxia
2025-08-12 18:41:00 +08:00
committed by GitHub
parent 08b8b04c6c
commit 9ae34d3b45
460 changed files with 1372 additions and 80 deletions

View File

@@ -158,7 +158,7 @@ void Display::UpdateStatusBar(bool update_all) {
if (strcmp(icon, FONT_AWESOME_BATTERY_EMPTY) == 0 && discharging) {
if (lv_obj_has_flag(low_battery_popup_, LV_OBJ_FLAG_HIDDEN)) { // 如果低电量提示框隐藏,则显示
lv_obj_clear_flag(low_battery_popup_, LV_OBJ_FLAG_HIDDEN);
app.PlaySound(Lang::Sounds::P3_LOW_BATTERY);
app.PlaySound(Lang::Sounds::OGG_LOW_BATTERY);
}
} else {
// Hide the low battery popup when the battery is not empty