• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---
3   This is an example to configure LE Audio hardware offload supported capability settings
4   codecConfigurationList:
5     Supported codec capability along with its parameter setting
6 
7   strategyConfigurationList:
8      ASE Configuration strategies
9 
10   configurationList:
11     For each configuration, there are two attributes
12       - codecConfiguration
13       - strategyConfiguration
14 
15   scenarioList:
16     There would be only one `scenarios` group
17     For each scenario, the are two attributes
18       - encode
19       - decode
20     If a scenario is unidirectional, mark another direction as `invalid`
21     The configuration should be chosen from `configurationList`
22 -->
23 <leAudioOffloadSetting>
24   <scenarioList>
25     <!-- encode only -->
26     <scenario encode="OneChanMono_16_1" decode="invalid"/>
27     <scenario encode="TwoChanStereo_16_1" decode="invalid"/>
28     <scenario encode="OneChanStereo_16_1" decode="invalid"/>
29     <scenario encode="OneChanMono_16_2" decode="invalid"/>
30     <scenario encode="TwoChanStereo_16_2" decode="invalid"/>
31     <scenario encode="OneChanStereo_16_2" decode="invalid"/>
32     <scenario encode="OneChanMono_24_2" decode="invalid"/>
33     <scenario encode="TwoChanStereo_24_2" decode="invalid"/>
34     <scenario encode="OneChanStereo_24_2" decode="invalid"/>
35     <scenario encode="OneChanMono_48_2" decode="invalid"/>
36     <scenario encode="TwoChanStereo_48_2" decode="invalid"/>
37     <scenario encode="OneChanStereo_48_2" decode="invalid"/>
38     <scenario encode="OneChanMono_48_4" decode="invalid"/>
39     <scenario encode="TwoChanStereo_48_4" decode="invalid"/>
40     <scenario encode="OneChanStereo_48_4" decode="invalid"/>
41     <!-- encode and decode -->
42     <scenario encode="OneChanStereo_16_1" decode="OneChanStereo_16_1"/>
43     <scenario encode="OneChanStereo_16_1" decode="OneChanMono_16_1"/>
44     <scenario encode="TwoChanStereo_16_1" decode="OneChanMono_16_1"/>
45     <scenario encode="OneChanMono_16_1" decode="OneChanMono_16_1"/>
46     <scenario encode="OneChanStereo_16_2" decode="OneChanStereo_16_2"/>
47     <scenario encode="OneChanStereo_16_2" decode="OneChanMono_16_2"/>
48     <scenario encode="TwoChanStereo_16_2" decode="OneChanMono_16_2"/>
49     <scenario encode="OneChanMono_16_2" decode="OneChanMono_16_2"/>
50     <scenario encode="OneChanStereo_32_2" decode="OneChanStereo_32_2"/>
51     <scenario encode="OneChanStereo_32_2" decode="OneChanMono_32_2"/>
52     <scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
53     <scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
54     <!-- broadcast -->
55     <scenario encode="invalid" decode="invalid" broadcast="BcastStereo_48_2"/>
56     <scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
57     <scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
58   </scenarioList>
59   <configurationList>
60     <configuration name="OneChanMono_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
61     <configuration name="TwoChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
62     <configuration name="OneChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
63     <configuration name="OneChanMono_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
64     <configuration name="TwoChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
65     <configuration name="OneChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
66     <configuration name="OneChanMono_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
67     <configuration name="TwoChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
68     <configuration name="OneChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
69     <configuration name="OneChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
70     <configuration name="OneChanMono_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
71     <configuration name="TwoChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
72     <configuration name="OneChanMono_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
73     <configuration name="TwoChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
74     <configuration name="OneChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
75     <configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
76     <configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
77     <configuration name="OneChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
78     <configuration name="BcastStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="BROADCAST_STEREO"/>
79     <configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
80     <configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>
81   </configurationList>
82   <codecConfigurationList>
83     <codecConfiguration name="LC3_16k_1" codec="LC3" samplingFrequency="16000" frameDurationUs="7500" octetsPerCodecFrame="30"/>
84     <codecConfiguration name="LC3_16k_2" codec="LC3" samplingFrequency="16000" frameDurationUs="10000" octetsPerCodecFrame="40"/>
85     <codecConfiguration name="LC3_24k_2" codec="LC3" samplingFrequency="24000" frameDurationUs="10000" octetsPerCodecFrame="60"/>
86     <codecConfiguration name="LC3_32k_2" codec="LC3" samplingFrequency="32000" frameDurationUs="10000" octetsPerCodecFrame="80"/>
87     <codecConfiguration name="LC3_48k_2" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="100"/>
88     <codecConfiguration name="LC3_48k_4" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="120"/>
89   </codecConfigurationList>
90   <strategyConfigurationList>
91     <strategyConfiguration name="STEREO_ONE_CIS_PER_DEVICE" audioLocation="STEREO" connectedDevice="2" channelCount="1"/>
92     <strategyConfiguration name="STEREO_TWO_CISES_PER_DEVICE" audioLocation="STEREO" connectedDevice="1" channelCount="2"/>
93     <strategyConfiguration name="MONO_ONE_CIS_PER_DEVICE" audioLocation="MONO" connectedDevice="1" channelCount="1"/>
94     <strategyConfiguration name="BROADCAST_STEREO" audioLocation="STEREO" connectedDevice="0" channelCount="2"/>
95   </strategyConfigurationList>
96 </leAudioOffloadSetting>
97