Hi Francesco,
Sorry for the late answer, I would like to first add some details
about how things are assumed to work, in addition to what Theo is
saying.
- On AGL/Guppy, A2DP and SCO are both handled by bluez-alsa
(pulseaudio is not used)
- When a phone call is started (or when you pick up a call),
bluez-alsa sends an event to the 4A audio
stack (containing the audio rate, that is dependent on the phone),
and 4A launches 2 SCO audio streams
(to have full duplex).
Now that you have a working mic, would you please mind :
- showing your log ?
- telling me if the capture works (in other words, that your voice
in the board mic goes until the phone speaker)
Thanks
Thierry
On 07/10/2019 01:50 PM, Francesco
CESAREO (Kineton) wrote:
Hi Theo,
in the 4a json config file the only available protocol
for voice call is sco, but no audio is played.
Should I change other configuration?
Do you have kingfisher expansion too? Can you give me
your 4a configuration?
Thank you.
Regards,
Francesco
Hi
Francesco,
A2DP
is the bluetooth profile for high quality audio (music
playback). SCO is a bluetooth transport protocol used by
the HFP/HSP bluetooth profiles for bi-directionnal
low-latency audio. HFP/HSP are mainly used during
telephone calls/VOIP sessions.
On
AGL, your device should switch between A2DP and HFP/HSP
when you make a telephone call. When the call ends, it
should go back into A2DP for media playback.
I
tested this to work correctly on Guppy on a M3ULCB
board. Depending on your distro, this should either be
handled by bluez-alsa or by a pulseaudio instance. You
could try to look in that direction.
Best
regards,
Théo
Hi all,
analysing the problem, I can say that audio
playback works if the protocol is "a2dp" while it
doesn't work with "sco" protocol.
Can it be a configuration problem or is there an
other problem?
Thank you.
Francesco
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
|
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions