上行DTMF音频生成 [英] Uplink DTMF tone generation

查看:435
本文介绍了上行DTMF音频生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么办法可以动态地生成上行链路双音多频(即接收器听到它)?

当我看着Android源$ C ​​$ C,我看到一个调用的函数 startDTMF()这正是我需要的,但我找不到任何API这使我能够访问该功能......

然后我想用ToneGenerator,并试图以声音的麦克风流注入,而我又无法找到一种方法来实现这一目标?

任何帮助是AP preciated。

解决方案
  

电话:1234,123

这可以提供帮助。 ,产生一个4秒的延迟,所以您可以使用该在的地方,有时... 但我们仍然需要得到一些东西从SDK让希望Android的家伙找到了!

Is there any way I can dynamically generate uplink DTMF tone (ie the receiver hears it)?

When I looked at the android source code I saw a function called startDTMF() which is exactly what I need, but I couldn't find any API that allows me to access that function...

I then thought of using ToneGenerator and tried to inject the sound to the mic stream, and again I couldn't find a way to achieve this...

Any help is appreciated.

解决方案

tel:1234,123

this can help. , generates a 4 sec delay so you may use this at places sometimes... but still we need to get some thing from sdk lets hope Android guys find something up!

这篇关于上行DTMF音频生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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