Ubuntu how can I send my audio output, to the mobile which is connected using bluetooth?
Solution 1
If you use Blueman instead of gnome bluetooth manager you can set uo your phone as sound output.
You can find Blueman in Software Center
Solution 2
I also tried to do this in the past, searched for answers and the basic answer for this question is that you can't do it, because the android bluetooth stack lacks support for A2DP sink capabilities.
Then I found a great answer at stackoverflow which says that it might be possible to do it, but it's hard to do. The answer and the details are here. For the solution presented in that answer you will need:
- a rooted device.
- Good programming skills/experience. (Or someone who does it for you)
- Android version older than 4.2, because in 4.2 Android switched from the BlueZ stack to Broadcom's Bluedroid.
But I don't know whether the solution presented in that answer really works, because I never tried it. Maybe in the future Google will change the default bluetooth stack to support the A2DP sink profile or some modders make a custom ROM with support for it, but until that day this is the only way.
Related videos on Youtube
web.learner
Updated on September 18, 2022Comments
-
web.learner over 1 year
My mobile running Android which is using bluetooth connected to my Ubuntu 12.10 64-bit.
My goal is to have following step:
- In my Ubuntu desktop I am running music from YouTube
- Mobile phone is connected to Ubuntu Desktop using bluetooth
- From my mobile I have a head phone connected to my ear
- I want to hear the music from my mobile the same audio which is playing in desktop
How can I do that? in this popup dialog I don't have any kind of option to send audio output on bluetooth.
Follow up:
-
Uri Herrera about 11 yearsSoundwire which doesn't work with Bluetooth but with WiFi does exactly what you want, but as I said it's WiFi not Bluetooth.
-
Admin about 11 yearsThank you, using wifi it works. But packet gets broken and audio is not stable, also i have two kind of sound output, only one kind of sound output works. But the thing works nicely.
-
totti about 11 yearsI think you are connected(audio streaming) using Internet (not Wifi)
-
Akisame over 10 yearsYou could look into this tutorial and change the sound input into sound output blog.stevenocchipinti.com/2012/10/…
-
mniess over 10 yearsMore detailed answer to come. I'm just testing this with my iphone. It's easier than I though, you just need to pair your device and loud a pulseaudio loopback module with your device as a sink. With pavucontrol you can then set the sink to monitor your soundcard.
-
mniess over 10 yearsBluetooth doesn't work anymore for me since upgrading Ubuntu, so I can't test this, but here's how it should work. Run
pactl list short sinks
after pairing to get the sink NUMBER of your device. Then runpactl load-module module-loopback sink=NUMBER
to add a loopback to that sink. Inpavucontrol
in the recording tab you can now set that loopback to monitor soundcard.