1. 完成了语音识别的C++业务层封装,测试通过
2. 试着测试了一下LVGL_GIF渲染+音乐播放+语音识别的组合简单优化后,
发现lvgl渲染略显卡顿,语音识别有缓冲区空警告,不过无伤大雅,还需要进一步深度优化。
This commit is contained in:
@@ -2,11 +2,30 @@
|
||||
// Created by misaki on 2025/9/2.
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
/**
|
||||
* 本模块提供各种杂项工具类,基本都来源于对底层驱动的封装
|
||||
*
|
||||
*
|
||||
*/
|
||||
class ToolsClass {
|
||||
public:
|
||||
/**
|
||||
* 获取当前时间
|
||||
* @return
|
||||
*/
|
||||
static std::string getCurrentTime();
|
||||
|
||||
/**
|
||||
* 获取esp32s3的芯片序列号
|
||||
* @return
|
||||
*/
|
||||
static std::string getChipSerialNumber();
|
||||
|
||||
/**
|
||||
* 获取esp32s3的MAC地址
|
||||
* @return
|
||||
*/
|
||||
static std::string getChipMAC();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user