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
1,不知道我写的对不对。但是思路应该是这样的。 2,exoplayer播放器每次回调的数据观测是 0.1s的pcm 采样数据。比如采样率44100 双通道wav文件。inputByteBuffer会返回 长度 44100162/8/10 = 17640 长度的字节数组,约17.22kb。demo里的min bytes 是7056,是44100162/8 的 1/25 等于 0.04s的音频帧字节数据。那么exoplayer 这里使用api haeEqualizerStream.applyPcmData(pcmData) , 是不是不正确? 3,想知道haeEqualizerStream.applyPcmData(pcmData) 。这个api处理pcm数据是有对应的根据的吗? 4,如果我的理解错误请大佬解惑下~~~
The text was updated successfully, but these errors were encountered:
尊敬的开发者,您好, 我们SDK本身提供了huaweiAudioEditor这个类,可以用作播放器,如果您想要在exoplayer里面播放,pcm数据长度无法对齐的话,可以多处理几帧做拼接,haeEqualizerStream.applyPcmData()接口不限制输入的大小,只是我们当前是按照40ms采样的。
Sorry, something went wrong.
No branches or pull requests
1,不知道我写的对不对。但是思路应该是这样的。
2,exoplayer播放器每次回调的数据观测是 0.1s的pcm 采样数据。比如采样率44100 双通道wav文件。inputByteBuffer会返回 长度 44100162/8/10 = 17640 长度的字节数组,约17.22kb。demo里的min bytes 是7056,是44100162/8 的 1/25 等于 0.04s的音频帧字节数据。那么exoplayer 这里使用api haeEqualizerStream.applyPcmData(pcmData) , 是不是不正确?
3,想知道haeEqualizerStream.applyPcmData(pcmData) 。这个api处理pcm数据是有对应的根据的吗?
4,如果我的理解错误请大佬解惑下~~~
The text was updated successfully, but these errors were encountered: