Singcol
Results
2
issues of
Singcol
您好!看了您开源的项目代码,并在Android平台测试了声波通信,可以互发声波并识别。但是我测试在Linux平台声波识别,不能解码。调试方式:先编码一段pcm音频文件,pcm文件内嵌入了1234567890这10个字符,再在Linux平台直接读取pcm文件进行解码,无结果。但是我把这个pcm文件播放,再用Android平台进行监听解码,能够正常识别出字符1234567890。 Linux平台调试详情是:解码部分的函数 helperResultWithTimeSlice 判断条件进不去 if (queue_item_at_index(q17, 0) > 0.0 && queue_item_at_index(q17, 1) > 0.0 && queue_item_at_index(q19, 1) > 0.0 && queue_item_at_index(q19, 2) > 0.0) { /\* 条件语句没进来:跟踪调试是因为第四个判断queue_item_at_index(q19, 2) 的值为等于0; */...