Currently the minimum LC3 SDU size is set to 30B. Thus, if a source uses the 8_1_1 config which has a SDU size of 26 the sink's capabilities won't match and the appropriate endpoint won't be created. --- client/player.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/player.c b/client/player.c index a40bf66e3..30bcfb95d 100644 --- a/client/player.c +++ b/client/player.c @@ -1188,10 +1188,10 @@ static const struct capabilities { * Frequencies: 8Khz 11Khz 16Khz 22Khz 24Khz 32Khz 44.1Khz 48Khz * Duration: 7.5 ms 10 ms * Channel count: 3 - * Frame length: 30-240 + * Frame length: 26-240 */ CODEC_CAPABILITIES("pac_snk/lc3", PAC_SINK_UUID, LC3_ID, - LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 30, + LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 26, 240), UTIL_IOV_INIT()), @@ -1200,10 +1200,10 @@ static const struct capabilities { * Frequencies: 8Khz 11Khz 16Khz 22Khz 24Khz 32Khz 44.1Khz 48Khz * Duration: 7.5 ms 10 ms * Channel count: 3 - * Frame length: 30-240 + * Frame length: 26-240 */ CODEC_CAPABILITIES("pac_src/lc3", PAC_SOURCE_UUID, LC3_ID, - LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 30, + LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 26, 240), UTIL_IOV_INIT()), @@ -1212,10 +1212,10 @@ static const struct capabilities { * Frequencies: 8Khz 11Khz 16Khz 22Khz 24Khz 32Khz 44.1Khz 48Khz * Duration: 7.5 ms 10 ms * Channel count: 3 - * Frame length: 30-240 + * Frame length: 26-240 */ CODEC_CAPABILITIES("bcaa/lc3", BCAA_SERVICE_UUID, LC3_ID, - LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 30, + LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 26, 240), UTIL_IOV_INIT()), @@ -1224,10 +1224,10 @@ static const struct capabilities { * Frequencies: 8Khz 11Khz 16Khz 22Khz 24Khz 32Khz 44.1Khz 48Khz * Duration: 7.5 ms 10 ms * Channel count: 3 - * Frame length: 30-240 + * Frame length: 26-240 */ CODEC_CAPABILITIES("baa/lc3", BAA_SERVICE_UUID, LC3_ID, - LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 30, + LC3_DATA(LC3_FREQ_ANY, LC3_DURATION_ANY, 3u, 26, 240), UTIL_IOV_INIT()), }; -- 2.39.2