mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-07 08:21:11 -04:00
bluez5: aac: Use VBR encoding with Mode 5 by default
This commit is contained in:
parent
a35b6b0c4b
commit
ee1b429441
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ static void *codec_init_props(const struct media_codec *codec, uint32_t flags, c
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (settings == NULL || (str = spa_dict_lookup(settings, "bluez5.a2dp.aac.bitratemode")) == 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);
|
p->bitratemode = SPA_CLAMP(atoi(str), 0, 5);
|
||||||
return p;
|
return p;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue