摘要: PCM数据格式: 如果数据是 float 格式,则值域为 [-1.0, 1.0] 如果数据是 S16 (int16) 格式,则值域为 [-32767, +32767] #include <stdint.h> inline int16_t PCMFloat32ToInt16FmtConvert(flo 阅读全文
posted @ 2023-02-06 15:37 小超不挑食 阅读(262) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: bool evaluateTree(TreeNode* root) { return dfs(root); } bool dfs(TreeNode * root){ switch(root->val){ case(0) : return false; 阅读全文
posted @ 2023-02-06 14:19 小超不挑食 阅读(11) 评论(0) 推荐(0) 编辑