bluez5: aac: Use VBR encoding with Mode 5 by default

This commit is contained in:
ValdikSS 2026-04-05 20:14:23 +03:00
parent a35b6b0c4b
commit ee1b429441

View file

@ -286,7 +286,7 @@ static void *codec_init_props(const struct media_codec *codec, uint32_t flags, c
return NULL;
if (settings == NULL || (str = spa_dict_lookup(settings, "bluez5.a2dp.aac.bitratemode")) == NULL)
str = "0";
str = "5";
p->bitratemode = SPA_CLAMP(atoi(str), 0, 5);
return p;