安卓:可以蓝牙连接的自我? [英] Android: Possible to connect bluetooth to self?

查看:174
本文介绍了安卓:可以蓝牙连接的自我?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在今年年初,我试图实现一个Android的应用程序,它会流中的所有系统的音频到远程系统。

At the beginning of this year, I tried to implement an android-app which could stream ALL system-audio to a remote system.

这是不容易的,因为(当时)有没有办法让所有系统的音频。 所以,我开发了一个内核模块,它劫持的声音。

This was not easy because (at that time) there was no way to get all system-audio. So I developed a kernel-module which hijacked the audio.

但它是一个有点马车,难以释放。

But it was a bit buggy and hard to release.

因此​​,我停止工作就可以了。

So I stopped work on it.

但现在,几个月后,我不知道是否有可能:

But now, some months later I wonder if it is possible to:

通过蓝牙对自己(=模拟蓝牙)连接,因为那时我   可以通过API转发系统,音频,然后把它拿来另一   一面。

Connect via bluetooth to myself (= simulate bluetooth), because then I can forward system-audio to it via API and then fetch it on the other side.

任何人的想法?

推荐答案

我对此表示怀疑。一对夫妇的原因是没有回环设备的蓝牙(见这里也可以),你将基本上需要使用

I doubt it. For a couple of reasons there is no loopback device for Bluetooth (see here also), which you would basically want to use.

您可以尝试寻找到使用的PulseAudio作为替代Android的AudioFlinger,脉冲提供了Linux的回送模块最少。

You might try looking into using PulseAudio as a replacement for Android's AudioFlinger, as Pulse offers a loopback module for Linux at least.

这篇关于安卓:可以蓝牙连接的自我?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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