mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
8f2a239504
commit
83050e647b
3 changed files with 33 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue