bluez: fix compilation without ldac_abr

The define for this constant was removed but it was LDACBT_EQMID_MQ
before.
This commit is contained in:
Wim Taymans 2022-12-15 12:20:40 +01:00
parent 5ff00f40b9
commit 7758240c79

View file

@ -243,7 +243,7 @@ static int codec_reduce_bitpool(void *data)
#else #else
struct impl *this = data; struct impl *this = data;
int res; int res;
if (this->eqmid == LDACBT_EQMID_BITRATE_330000 || !this->enable_abr) if (this->eqmid == LDACBT_EQMID_MQ || !this->enable_abr)
return this->eqmid; return this->eqmid;
res = ldacBT_alter_eqmid_priority(this->ldac, LDACBT_EQMID_INC_CONNECTION); res = ldacBT_alter_eqmid_priority(this->ldac, LDACBT_EQMID_INC_CONNECTION);
return res; return res;