Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbaf6655 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk
Browse files

le_audio: Add double CIS source ASE only scenario

Patch extends possibility to set up double microphone on different CISes
scenario.

Test: atest bluetooth_le_audio_client_test
Sponsor: @jpawlowski
Bug: 229802353
Change-Id: I574790c7d85b102844aa57b6039a2f9ff73187f9
Merged-In: I574790c7d85b102844aa57b6039a2f9ff73187f9
(cherry picked from commit 47b95b0c)
parent 96a50c81
Loading
Loading
Loading
Loading
+72 −0
Original line number Diff line number Diff line
@@ -362,6 +362,11 @@
            "codec_config_name": "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1",
            "qos_config_name": ["QoS_Config_16_1_1"]
        },
        {
            "name": "SingleDev_OneChanStereoSrc_16_2_Server_Preferred",
            "codec_config_name": "SingleDev_OneChanStereoSrc_16_2",
            "qos_config_name": ["QoS_Config_Server_Preferred"]
        },
        {
            "name": "SingleDev_OneChanMonoSrc_24_2_Server_Preferred",
            "codec_config_name": "SingleDev_OneChanMonoSrc_24_2",
@@ -1236,6 +1241,73 @@
                }
            ]
        },
        {
            "name": "SingleDev_OneChanStereoSrc_16_2",
            "subconfigurations": [
                {
                    "device_cnt": 1,
                    "ase_cnt": 2,
                    "direction": "SOURCE",
                    "configuration_strategy": "STEREO_TWO_CISES_PER_DEVICE",
                    "codec_id": {
                        "coding_format": 6,
                        "vendor_company_id": 0,
                        "vendor_codec_id": 0
                    },
                    "codec_configuration": [
                        {
                            "name": "sampling_frequency",
                            "type": 1,
                            "compound_value": {
                                "value": [
                                    3
                                ]
                            }
                        },
                        {
                            "name": "frame_duration",
                            "type": 2,
                            "compound_value": {
                                "value": [
                                    1
                                ]
                            }
                        },
                        {
                            "name": "audio_channel_allocation",
                            "type": 3,
                            "compound_value": {
                                "value": [
                                    1,
                                    0,
                                    0,
                                    0
                                ]
                            }
                        },
                        {
                            "name": "octets_per_codec_frame",
                            "type": 4,
                            "compound_value": {
                                "value": [
                                    40,
                                    0
                                ]
                            }
                        },
                        {
                            "name": "codec_frame_blocks_per_sdu",
                            "type": 5,
                            "compound_value": {
                                "value": [
                                    1
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "SingleDev_OneChanMonoSrc_24_2",
            "subconfigurations": [
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_2_1",
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1_Server_Preferred",
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1_1",
                "SingleDev_OneChanStereoSrc_16_2_Server_Preferred",
                "SingleDev_OneChanMonoSrc_24_2_Server_Preferred",
                "SingleDev_OneChanMonoSrc_16_2_Server_Preferred",
                "VND_SingleDev_TwoChanStereoSnk_TwoChanStereoSrc_32khz_Server_Prefered_1",