bluez5: aptx-ll: produce 7.5ms packets

Put a bit more samples to packets to make it more robust.  The 7.5ms
interval may also fit better with other BT devices.
This commit is contained in:
Pauli Virtanen 2024-02-04 23:32:18 +02:00
parent 8f2a239504
commit 83050e647b
3 changed files with 33 additions and 2 deletions

View file

@ -61,6 +61,18 @@ int media_codec_select_config(const struct media_codec_config configs[], size_t
return res;
}
int media_codec_get_config(const struct media_codec_config configs[], size_t n,
uint32_t conf)
{
size_t i;
for (i = 0; i < n; ++i)
if (configs[i].config == conf)
return configs[i].value;
return -EINVAL;
}
bool media_codec_check_caps(const struct media_codec *codec, unsigned int codec_id,
const void *caps, size_t caps_size,
const struct media_codec_audio_info *info,