akashr04
Posts: 13
Joined: Mon Oct 30, 2017 4:14 pm

Bluetooth Audio

Mon Oct 30, 2017 4:25 pm

Hi everyone! I am using RPi 3 with Raspbian Stretch. I have been having issues playing audio over my bluetooth speaker. I am able to pair and connect to my bluetooth speaker, and I see it in the list of connected devices. But even after changing the default sink to this bluetooth speaker, I don't hear any sound.
The following bulleted points explain what's going on
1. Pairing is successful (bluetoothctl)
2. Connection is successful (bluetoothctl)
3. When trying to stream audio:
a. Using VLC: the tone is apparently played and I see the progress bar at the bottom of the VLC GUI reach completion, but I don't hear anything.
B. Using play command ( from sox : sudo apt-get install sox), the terminal appears to freeze, and no audio is streamed. The completion bar continues to remain at 0%. Again, obviously, I dont hear any sound.

I have tried a bunch of solutions: modifying audio.conf file, hiding the ALSA audio control bar, and quite a few others. I've been at this for over a week now. Please help me out..

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20946
Joined: Sat Jul 30, 2011 7:41 pm

Re: Bluetooth Audio

Mon Oct 30, 2017 4:40 pm

Been a lot of very recent updates to the BT system (today!)- please ensure you system is right up to date and test again.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

akashr04
Posts: 13
Joined: Mon Oct 30, 2017 4:14 pm

Re: Bluetooth Audio

Mon Oct 30, 2017 7:29 pm

Hello Jamesh. After running an update on my pi, I am now facing a different issue. Like before, I can pair and connect to my bluetooth speaker but this time around, the speaker is not even listed as an audio sink. When I enter "pacmd list-sinks", I do not anymore see the device. using vlc, I couldn't find the speaker in the list of audio devices either.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5373
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Bluetooth Audio

Tue Oct 31, 2017 11:47 am

Could you try running 'sudo systemctl stop bluealsa && sudo systemctl disable bluealsa" then rebooting?

akashr04
Posts: 13
Joined: Mon Oct 30, 2017 4:14 pm

Re: Bluetooth Audio

Tue Oct 31, 2017 2:53 pm

I tried those commands. I got a prompt saying "alsa service removed". After this, I tried connecting and pairing to my speaker. As before I was successful but I couldn't find it in the list of audio sinks. So, I still haven't been able to stream any audio. I tried VLC as well.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5373
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Bluetooth Audio

Tue Oct 31, 2017 3:27 pm

akashr04 wrote:
Tue Oct 31, 2017 2:53 pm
I tried those commands. I got a prompt saying "alsa service removed". After this, I tried connecting and pairing to my speaker. As before I was successful but I couldn't find it in the list of audio sinks. So, I still haven't been able to stream any audio. I tried VLC as well.
Neither of the commands I gave would give you that output.

akashr04
Posts: 13
Joined: Mon Oct 30, 2017 4:14 pm

Re: Bluetooth Audio

Tue Oct 31, 2017 4:43 pm

Okay so I re-ran the commands and performed a cold boot-up. Now I can successfully pair, connect and stream audio.

Thanks a lot for your help!

wojciechk2
Posts: 1
Joined: Mon Feb 19, 2018 7:33 pm

Re: Bluetooth Audio

Mon Feb 19, 2018 7:49 pm

akashr04 what did you mean by "I re-ran the commands and performed a cold boot-up". What did the commands were? I have the same problem. Share it please.

akashr04
Posts: 13
Joined: Mon Oct 30, 2017 4:14 pm

Re: Bluetooth Audio

Tue Feb 20, 2018 2:24 pm

Could you try running 'sudo systemctl stop bluealsa && sudo systemctl disable bluealsa" then rebooting?
Those are the commands I ran to be able to connect and play audio. Make sure to reboot after entering those commands.

If you need more help, just let me know in this thread.
Good luck.

Return to “Troubleshooting”