Android Low latency Audio using SoundPool

蹲街弑〆低调 提交于 2019-12-12 04:35:37

问题


I want to play a simple short tone (150ms) with as low latency as possible. Reading around it seems that the simplest solution is to use SoundPool.

I've also read that in Android 4.1 support for OpenSL ES was introduced, which uses a lower latency audio output path. http://source.android.com/devices/latency_design.html

So my question is does SoundPool make use of this low latency audio path? Or is the only way to access this feature via OpenSL ES and the NDK?

来源:https://stackoverflow.com/questions/19766702/android-low-latency-audio-using-soundpool

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