Hi,
I am using latest OpenEmbedded Release on dragonboard820c(p4).
Release: http://snapshots.linaro.org/96boards/dragonboard820c/linaro/openembedded/rocko/latest/rpb/
Bootimage: boot–4.11-r0-dragonboard-820c-20180322030504-99-99.img
Rootfs Image: rpb-desktop-image-dragonboard-820c-20180322030504-99.rootfs.img.gz
Setup :
DB820c P4 Board.
Bluetooth Device: JBL GO/ Jabra Smart Headphones
root@dragonboard-820c:~# uname -a
Linux dragonboard-820c 4.11.12+linaro #1 SMP PREEMPT Thu Mar 22 03:17:34 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
Issue :
We get very laggy and low-quality audio while using Bluetooth a2dp profile both for playback and capture.
For using a2dp profile we are using bluez5 and open-source bluez-alsa utility.
Refernce for bluez-alsa: https://github.com/Arkq/bluez-alsa/
Recipe for bluez-alsa : https://github.com/Arkq/bluez-alsa/wiki/Yocto-OE-recipe
We are using following commands :
root@dragonboard-820c:~# btattach -B /dev/ttyMSM1 &
root@dragonboard-820c:~# systemctl start bluez-alsa
root@dragonboard-820c:~# bluetoothctl
[bluetooth]# power on
[bluetooth]# scan on
[bluetooth]# pair 78:44:05:F2:66:B9
[bluetooth]# connect 78:44:05:F2:66:B9
[bluetooth]# exit
root@dragonboard-820c:~# aplay -D bluealsa:HCI=hci0,DEV=78:44:05:F2:66:B9,PROFILE=a2dp Front_Center_8k.wav
Playing WAVE ‘Front_Center_8k.wav’ : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
we also tried to run it on latest linaro release and with different sampling rates, but we got the same result.
Can you please suggest any missing items to improve the quality of audio over a2dp?
Let me know if you need any more information.
Thanks,
Krupal