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
我在录音的时候出现不回调,看来下你的源码,发现setRecordFftDataListener不回调的原因是 recordManager.setRecordDataListener(data -> { Log.e("TAG", "data长度:" + data.length); Log.e("TAG", "data::" + getFloat(data)); }); 长度都是640 没有大于某个值就不回调,我再看了下返回的byte数组 全是-127之类的 基本没啥变化,是我使用的方式不对么?因为我需要用到音频的数据,所以把你这些监听全打印出来,但是好想数据是有问题的。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在录音的时候出现不回调,看来下你的源码,发现setRecordFftDataListener不回调的原因是
recordManager.setRecordDataListener(data -> {
Log.e("TAG", "data长度:" + data.length);
Log.e("TAG", "data::" + getFloat(data));
});
长度都是640 没有大于某个值就不回调,我再看了下返回的byte数组 全是-127之类的 基本没啥变化,是我使用的方式不对么?因为我需要用到音频的数据,所以把你这些监听全打印出来,但是好想数据是有问题的。
The text was updated successfully, but these errors were encountered: