SebTC
Posts: 9
Joined: Sun Mar 13, 2016 12:01 am

Pi 3 bluetooth audio not working

Thu Mar 24, 2016 12:43 am

Just got a fresh image of Raspbian Jessie for my Raspberry Pi 3 B. Updated everything (apt-get update, apt-get upgrade and rpi-update). I'm trying to stream audio from my Android phone to the Raspberry. Testing audio from the audio jack.

Saw this tutorial: https://wiki.debian.org/BluetoothUser/a2dp
Run apt-get install pulseaudio pulseaudio-module-bluetooth (did not use pavucontrol or bluez-firmware).
apt-get install blueman (for pairing visually).

Rest: I can connect with my phone and stream, but the sound is too fast, pops, clicks and stops. Seems like a buffer underrun and strange resampling. When turning the Pi3's Wifi off with

Code: Select all

ifdown wlan0
The sound becomes good, no glitches etc. Saw some tips like using trivial as resampling method (resample-method = trivial)
Disabling suspend on idle module

Code: Select all

#load-module module-suspend-on-idle
Also tried to increase the buffer with default-fragments and default-fragment size, no luck.

Has anyone the a2dp streaming working on the RPI 3 with WLAN enabled, and is there anybody with a solution?

AlessandroFerri
Posts: 61
Joined: Tue Apr 02, 2013 5:44 pm

Re: Pi 3 bluetooth audio not working

Thu Apr 21, 2016 5:35 pm

I have the exact same problem, I say more, by turning off the WiFi with

Code: Select all

sudo ifdown wlan0
the audio noise disappears and then it resumes when I reactivate the WiFi with

Code: Select all

sudo ifup wlan0.
You have found a solution to the problem?
Let me know?

smaxfish
Posts: 2
Joined: Mon Apr 25, 2016 8:33 am

Re: Pi 3 bluetooth audio not working

Mon Apr 25, 2016 8:35 am

I have the same problem! Thanks for the tip for shutting down the wlan.

But I would like to know is there any workarounds?

smaxfish
Posts: 2
Joined: Mon Apr 25, 2016 8:33 am

Re: Pi 3 bluetooth audio not working

Mon Apr 25, 2016 8:38 am

May I ask which resampling method do you use in pulse daemon config file?
Thanks.
SebTC wrote:Just got a fresh image of Raspbian Jessie for my Raspberry Pi 3 B. Updated everything (apt-get update, apt-get upgrade and rpi-update). I'm trying to stream audio from my Android phone to the Raspberry. Testing audio from the audio jack.

Saw this tutorial: https://wiki.debian.org/BluetoothUser/a2dp
Run apt-get install pulseaudio pulseaudio-module-bluetooth (did not use pavucontrol or bluez-firmware).
apt-get install blueman (for pairing visually).

Rest: I can connect with my phone and stream, but the sound is too fast, pops, clicks and stops. Seems like a buffer underrun and strange resampling. When turning the Pi3's Wifi off with

Code: Select all

ifdown wlan0
The sound becomes good, no glitches etc. Saw some tips like using trivial as resampling method (resample-method = trivial)
Disabling suspend on idle module

Code: Select all

#load-module module-suspend-on-idle
Also tried to increase the buffer with default-fragments and default-fragment size, no luck.

Has anyone the a2dp streaming working on the RPI 3 with WLAN enabled, and is there anybody with a solution?

AlessandroFerri
Posts: 61
Joined: Tue Apr 02, 2013 5:44 pm

Re: Pi 3 bluetooth audio not working

Wed Apr 27, 2016 10:57 am

I use

Code: Select all

 resample-method = src-sinc-medium-quality
, but I have the same problem if I use Trivial.

bigatl22
Posts: 10
Joined: Wed Jan 15, 2014 3:49 am

Re: Pi 3 bluetooth audio not working

Thu Apr 28, 2016 2:08 pm

I might have the same problem. Didn't think to try turning off the WIFI but will give it a shot tonight. I'm running Ubuntu Mate so the problem might be unrelated. Has anyone submitted a bug report? It sounds like a firmware update is needed.

bigatl22
Posts: 10
Joined: Wed Jan 15, 2014 3:49 am

Re: Pi 3 bluetooth audio not working

Tue May 03, 2016 7:43 pm

AlessandroFerri wrote:I use

Code: Select all

 resample-method = src-sinc-medium-quality
, but I have the same problem if I use Trivial.
So you have it working? Can you explain where this line of code is placed?

fbertolaccini
Posts: 8
Joined: Tue May 03, 2016 6:32 pm
Location: Italy

Re: Pi 3 bluetooth audio not working

Tue May 03, 2016 8:00 pm

I can reproduce this, turning the wifi off stops the stuttering.

Return to “Troubleshooting”