Re: [H3ULCB + KF] Bluetooth audio problem with Guppy 7.0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Francesco,

I just did the test on latest Guppy, using a webcam as input microphone.
In my case, this is a Creative Socialized HD, seen as hw:HD by alsa.

I changed to /usr/libexec/agl/4a-hal/etc.available/hal-4a-rcar-m3kf.json to set it in the capture section:

    "captures": [
        {
            "uid": "HD",
            "cardid": "hw:HD",
            "params": {
                "rate": 48000
            },
            "source": {
                "controls": {
                    "volume": {
                        "name": "Mic Capture Volume"
                    },
                    "mute": {
                        "name": "Mic Capture Switch"
                    }
                },
                "channels": [
                    {
                        "uid": "mic-mono",
                        "port": 0
                    }
                ]
            }
        } ,


And changed the bluetooth section to use it:

 "params": {
                "sco": {
                    "mic": "HD",
                    "zone": "full-stereo",
                    "delayms": 200
                },
                "a2dp": {
                    "zone": "full-stereo",
                    "delayms": 1000
                }
            },

With this setup, there are no more errors in agl-service-4a.

But what I can see (I shoud say, 'hear'), is that only "SCO listen" works,
from the remote caller, there are no audible sounds in the speaker,
just like the mic was muted. However, what the remote caller says, goes through
the m3ulcb speakers.

This is something that needs deeper investigation, probably at the bluez-alsa level.

Best regards
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


Il giorno mer 10 lug 2019 alle ore 13:10 Theo BUENO <theo.bueno@xxxxxxxx> ha scritto:
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

De : automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx <automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx> de la part de Francesco CESAREO (Kineton) <francesco.cesareo@xxxxxxxxxx>
Envoyé : mercredi 10 juillet 2019 12:52
À : automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
Objet : Re: [H3ULCB + KF] Bluetooth audio problem with Guppy 7.0.3
 
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

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux