We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一次采集channels=2, sampleRate=8000, sampleBits=16的时候,发现使用ffplay播放到最后数据出错,排查发现,rData.length <= temp 或者lData.length <= temp的时候出现数组溢出情况。
The text was updated successfully, but these errors were encountered:
我也发现了这个问题,可以通过修改length变量修正: 原: const length = Math.floor((lData.length_+RData.length) / rate) 修改为: let length = Math.floor(lData.length / rate) if (rData.length) { length *= 2 }
Sorry, something went wrong.
No branches or pull requests
一次采集channels=2, sampleRate=8000, sampleBits=16的时候,发现使用ffplay播放到最后数据出错,排查发现,rData.length <= temp 或者lData.length <= temp的时候出现数组溢出情况。
The text was updated successfully, but these errors were encountered: