Android: Possible to connect bluetooth to self?

痴心易碎 提交于 2019-12-09 23:24:14

问题


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:

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.

Anyone an idea?


回答1:


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.

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



来源:https://stackoverflow.com/questions/13875126/android-possible-to-connect-bluetooth-to-self

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!