ExoPlayer AudioProcessor is delayed

余生长醉 提交于 2019-12-24 10:02:41

问题


I'm currently facing an issue while trying to implement a c++ based audio effect into exoplayer using their AudioProcessor interface. I already have an attempt to fix my issue (described below) by decreasing output buffer size. I have a related question posted here: https://github.com/google/ExoPlayer/issues/6216

My problem is that my audio effect (rough implementation to be seen here: https://gist.github.com/l0rn/30b9f846f869e55e1b0c6cb241e19114) needs to start processing quickly after the user enables it from a button in the app. At the moment it takes between 200 and 700ms to do so. My guess is, that there is still some unprocessed audio in the output buffer that needs to be flushed until the processed audio follows.

So basically i'm searching for options how to resolve this issue and appreciate any help

来源:https://stackoverflow.com/questions/57166398/exoplayer-audioprocessor-is-delayed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!