le_audio_codec_capabilities.xml 6.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. strategyConfigurationList:
  7. ASE Configuration strategies
  8. configurationList:
  9. For each configuration, there are two attributes
  10. - codecConfiguration
  11. - strategyConfiguration
  12. scenarioList:
  13. There would be only one `scenarios` group
  14. For each scenario, the are two attributes
  15. - encode
  16. - decode
  17. If a scenario is unidirectional, mark another direction as `invalid`
  18. The configuration should be chosen from `configurationList`
  19. -->
  20. <leAudioOffloadSetting>
  21. <scenarioList>
  22. <!-- encode only -->
  23. <scenario encode="OneChanMono_16_1" decode="invalid"/>
  24. <scenario encode="TwoChanStereo_16_1" decode="invalid"/>
  25. <scenario encode="OneChanStereo_16_1" decode="invalid"/>
  26. <scenario encode="OneChanMono_16_2" decode="invalid"/>
  27. <scenario encode="TwoChanStereo_16_2" decode="invalid"/>
  28. <scenario encode="OneChanStereo_16_2" decode="invalid"/>
  29. <scenario encode="OneChanMono_24_2" decode="invalid"/>
  30. <scenario encode="TwoChanStereo_24_2" decode="invalid"/>
  31. <scenario encode="OneChanStereo_24_2" decode="invalid"/>
  32. <scenario encode="OneChanMono_48_2" decode="invalid"/>
  33. <scenario encode="TwoChanStereo_48_2" decode="invalid"/>
  34. <scenario encode="OneChanStereo_48_2" decode="invalid"/>
  35. <scenario encode="OneChanMono_48_4" decode="invalid"/>
  36. <scenario encode="TwoChanStereo_48_4" decode="invalid"/>
  37. <scenario encode="OneChanStereo_48_4" decode="invalid"/>
  38. <!-- encode and decode -->
  39. <scenario encode="OneChanStereo_16_1" decode="OneChanStereo_16_1"/>
  40. <scenario encode="OneChanStereo_16_1" decode="OneChanMono_16_1"/>
  41. <scenario encode="TwoChanStereo_16_1" decode="OneChanMono_16_1"/>
  42. <scenario encode="OneChanMono_16_1" decode="OneChanMono_16_1"/>
  43. <scenario encode="OneChanStereo_16_2" decode="OneChanStereo_16_2"/>
  44. <scenario encode="OneChanStereo_16_2" decode="OneChanMono_16_2"/>
  45. <scenario encode="TwoChanStereo_16_2" decode="OneChanMono_16_2"/>
  46. <scenario encode="OneChanMono_16_2" decode="OneChanMono_16_2"/>
  47. <scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
  48. <scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
  49. <!-- broadcast -->
  50. <scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
  51. <scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
  52. </scenarioList>
  53. <configurationList>
  54. <configuration name="OneChanMono_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  55. <configuration name="TwoChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  56. <configuration name="OneChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
  57. <configuration name="OneChanMono_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  58. <configuration name="TwoChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  59. <configuration name="OneChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
  60. <configuration name="OneChanMono_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  61. <configuration name="TwoChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  62. <configuration name="OneChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
  63. <configuration name="OneChanMono_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  64. <configuration name="TwoChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  65. <configuration name="OneChanMono_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  66. <configuration name="TwoChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  67. <configuration name="OneChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
  68. <configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
  69. <configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
  70. <configuration name="OneChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
  71. <configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
  72. <configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>
  73. </configurationList>
  74. <codecConfigurationList>
  75. <codecConfiguration name="LC3_16k_1" codec="LC3" samplingFrequency="16000" frameDurationUs="7500" octetsPerCodecFrame="30"/>
  76. <codecConfiguration name="LC3_16k_2" codec="LC3" samplingFrequency="16000" frameDurationUs="10000" octetsPerCodecFrame="40"/>
  77. <codecConfiguration name="LC3_24k_2" codec="LC3" samplingFrequency="24000" frameDurationUs="10000" octetsPerCodecFrame="60"/>
  78. <codecConfiguration name="LC3_32k_2" codec="LC3" samplingFrequency="32000" frameDurationUs="10000" octetsPerCodecFrame="80"/>
  79. <codecConfiguration name="LC3_48k_2" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="100"/>
  80. <codecConfiguration name="LC3_48k_4" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="120"/>
  81. </codecConfigurationList>
  82. <strategyConfigurationList>
  83. <strategyConfiguration name="STEREO_ONE_CIS_PER_DEVICE" audioLocation="STEREO" connectedDevice="2" channelCount="1"/>
  84. <strategyConfiguration name="STEREO_TWO_CISES_PER_DEVICE" audioLocation="STEREO" connectedDevice="1" channelCount="2"/>
  85. <strategyConfiguration name="MONO_ONE_CIS_PER_DEVICE" audioLocation="MONO" connectedDevice="1" channelCount="1"/>
  86. <strategyConfiguration name="BROADCAST_STEREO" audioLocation="STEREO" connectedDevice="0" channelCount="2"/>
  87. </strategyConfigurationList>
  88. </leAudioOffloadSetting>