打一pre-录制的音频文件,有人在打电话 [英] Playing an pre-recorded audio file to somebody over a call

查看:154
本文介绍了打一pre-录制的音频文件,有人在打电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,即使AudioManager.STREAM_VOICE_CALL是在SDK为Android可用,它实际上并没有被用来发挥pre-录制的音频文件,或至少这是我所听到/看到的因特网。我的问题是,如果这是真的事情是这样的,怎么会是prankdial完成这个?

很多类似的问题已经被提出,但他们似乎真的老了,所以我想知道是否有人已经获得这方面有任何更深入的了解。

解决方案
  

我的问题是,如果这是真的事情是这样的,怎么会是prankdial完成这个?

这是不可能的。 Android的应用程序没有访问的通话音频流。 AudioManager.STREAM_VOICE_CALL 是音量控制。

I understand that even though the AudioManager.STREAM_VOICE_CALL is available in the SDK for android, it is not actually been used to play a pre-recorded audio file, or atleast that is what i have heard/seen on the internet. My Question is this, if this is truly the way it is, how is prankdial accomplishing this?

Many similar questions have been asked but they all seem really old, so i was wondering if anybody has gained any more insight about this.

解决方案

My Question is this, if this is truly the way it is, how is prankdial accomplishing this?

It is impossible. Android applications do not have access to the in-call audio stream. AudioManager.STREAM_VOICE_CALL is for volume control.

这篇关于打一pre-录制的音频文件,有人在打电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆