BlueWave Studio forum
No A2DP - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: OpenAuto Pro (https://bluewavestudio.io/community/forum-86.html)
+--- Forum: Bluetooth features (https://bluewavestudio.io/community/forum-72.html)
+---- Forum: A2DP Profile (https://bluewavestudio.io/community/forum-74.html)
+---- Thread: No A2DP (/thread-650.html)

Pages: 1 2


No A2DP - Vitalic - 12-28-2018

Hi,

trying rc1 of beta 3 but can't get A2DP profile to work. HFP and Phonebook work.



Tried to set another class 200400 but no success. It always is reset to 780400.



Tried both internal and external bt adapter. Both only use HFP. Also disabled hcitool cmd in rc.local.



I also set class in /etc/bluetooth/main.conf to 200400 but still 78040 is set after reboot.



Phone is Note8 7.1.1



In OApro2.0 i set the bt by myself and it streamed music.



Re: No A2DP - BlueWave - 12-28-2018

In order to use A2DP you do not need to modify any config files. After pairing it should be plug and play. Did you grant the permissions on your phone to play music over bluetooth? What player (on the phone) do you use to play the music?


Re: No A2DP - Vitalic - 12-28-2018

No question to grand access for music. Just about phonebook access.



Also just a headset symbol on my phone. Changed class to 20043C which results in 78043C which should be ok but still just phonebook and callaccess



Re: No A2DP - Vitalic - 12-28-2018

tried to start pulseaudio daemon from commandline with sudo pulseaudio -D    - failed
pulseaudio -v reports an error:

E: [pulseaudio] module-echo-cancel.c: Can't cancel echo between a sink and its monitor
E: [pulseaudio] module.c: Failed to load module "module-echo-cancel" (argument: "aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=0" source_name=echoCancel_source"): initialization failed.
E: [pulseaudio] main.c: Module load failed.

So i commented out everything from module-echo-cancel, reboot, repaired phone, and now it works...


Re: No A2DP - BlueWave - 12-28-2018

On your Android phone, in the settings of the paired Bluetooth devices (in that case OpenAuto-Pro device) you will have the switches with permissions for music playback, phone calls and contacts. If there is no music permission present it looks like A2DP service was not discovered during pairing. Are you sure that audio was configured properly (PulseAudio up and running, audio device connected) during pairing process? Did you add any modifications to the /etc/pulse/default.pa file?



Edit regarding echo cancel module:

Do you have any microphone input connected? It looks like pulse audio did not discover it.



Re: No A2DP - Vitalic - 12-28-2018

No, right now there is no mic connected. So the echo cancel module failes because of no mic input?


Re: No A2DP - BlueWave - 12-28-2018

Yes, echo cancel requires microphone input (echo source).


Re: No A2DP - Sumtincoo - 01-23-2019

you ever figure out a solution to this? i have a note 8 as well and my phone says its for handsfree calling too. wont play any music through a2dp or wont let android auto connect. screen just goes black when i plug in my phone. Thanks


Re: No A2DP - BlueWave - 01-23-2019

Sumtincoo Wrote:you ever figure out a solution to this? i have a note 8 as well and my phone says its for handsfree calling too. wont play any music through a2dp or wont let android auto connect. screen just goes black when i plug in my phone. Thanks

What sound card do you use? Please note that according to the system requirements from User Guide, the external sound card is required.


Re: No A2DP - Sumtincoo - 01-23-2019

I have a IQaudioIO Pi-DAC Pro soundcard