问题描述
目前,我正在寻找关于如何在Android操纵音频选项。我们的目标是一个电话呼叫期间处理来自实时麦克风音频。最好的解决办法是做到这一点上的本地呼叫。但是,重建一个电话的应用程序(不VOIP)将被罚款了。有什么方法与Android的API(也无证)来实现这一目标?如果不是,哪些步骤是必要把事情运行?
在iOS上有哪些操作声音,但建立一个VOIP连接的一些应用程序。我听说,在Android上,你可以克隆电话应用程序,并最终给它用自己的音频流?是不是有哪些应用程序在通话过程中添加的噪音?涉及到什么样的API?
非常感谢!
这是不可能的。你必须对在通话音频流进不去,除非是在免提模式。
这是谷歌(2010年)最后的官方说明,整个OS没有到在通话音频流进不去,因为它是所有的处理在一个较低的水平。即使较新版本的Android也有机会获得在通话的音频流,重建一个电话应用程序是唯一可能的,如果你在创建自定义固件。
I'm currently searching for options on how to manipulate audio on android. The goal is to process audio from the microphone in real time during a phone call. The best solution would be to do this on a native call. But rebuilding a telephone app (no VOIP) would be fine too. Are there any ways to achieve this with Android APIs (also undocumented)?If not, which steps would be necessary to get things running?
On iOS there are some apps which manipulate voice but create a VOIP connection. I heard that on Android you can "clone" the telephone app and eventually feed it with your own audio stream? Aren't there apps which add noises during a call? What kind of APIs are involved?
Thanks a lot!
This is not possible. You have no access to the in-call audio stream, except perhaps in speakerphone mode.
The last official word from Google (2010), the entire OS has no access to the in-call audio stream, as it is all handled at a lower level. Even if newer versions of Android do have access to the in-call audio stream, "rebuilding a telephone app" is only possible if you are creating custom firmware.
这篇关于安卓:在电话操纵的声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!