这是一次长久的提交:
1. 应用界面增加了返回主页的按钮 2. 修复了gif渲染内存泄漏的严重bug 3. 将PetDao当中的cJSON API替换为cpp_json,完美通过测试 4. 整合已经实现的各种上层建筑,实现了一个宠物对话基本业务应用,用于样品测试展示用 5. 重构了音频播放类,使其更modern,更加便于移植和拓展
This commit is contained in:
@@ -57,6 +57,15 @@ uint32_t Music_Elapsed(void);
|
||||
uint16_t Music_Energy(void);
|
||||
void Volume_adjustment(uint8_t Volume);
|
||||
|
||||
|
||||
// 供 C++ 层调用的“重新配置时钟”包装
|
||||
esp_err_t bsp_i2s_reconfig_clk(uint32_t rate,
|
||||
uint32_t bits_cfg,
|
||||
i2s_slot_mode_t ch);
|
||||
|
||||
// 供 C++ 层直接用的 tx channel 句柄
|
||||
extern i2s_chan_handle_t i2s_tx_chan;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user