我可以访问Android设备的音频输出以便在用户听到它之前对其进行修改吗? [英] Can I access the audio output of an Android device in order to modify it before the user hears it?

查看:131
本文介绍了我可以访问Android设备的音频输出以便在用户听到它之前对其进行修改吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这种情况是任何应用程序或系统都会创建音频输出,然后将其输出到Android设备的扬声器.现在,我想在此音频流到达用户之前就可以对其进行访问(当然,要获得该用户的许可).有没有办法做到这一点?

The scenario is that any app or the system creates an audio output which is then routed to the speaker of the Android device. Now, I would like to get access to this audio stream before it reaches the user (of course, with the permission of said user). Is there a way to do this?

我也检查了与此有关的上一个主题,但想知道在过去一年中Android的情况是否发生了变化: 如何在Android设备上拦截音频流设备?

I checked out a previous topic on this as well but was wondering if things have changed in the past year with Android: How can I intercept the audio stream on an android device?

预先感谢

推荐答案

否.你不能这样做.

这将是一个相当大的安全漏洞,它将使您的应用以非生命周期适当的方式直接影响其他应用的运行,并直接否定Android系统赖以进行有序操作的多个合同.

It would be a pretty major security loop hole, would allow your app to directly impact the operation of other apps in non lifecycle appropriate ways, and directly negate multiple contracts the Android system depends on for orderly operation.

这篇关于我可以访问Android设备的音频输出以便在用户听到它之前对其进行修改吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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