mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-05 07:15:34 -04:00
bluez: Increase priority of A2DP quality and latency profiles
This improves the UX as the highest A2DP profile will be selected by default.
This commit is contained in:
parent
01b9abc5ef
commit
2e7aee3573
1 changed files with 2 additions and 2 deletions
|
|
@ -2281,17 +2281,17 @@ static struct spa_pod *build_profile(struct impl *this, struct spa_pod_builder *
|
||||||
case DEVICE_PROFILE_A2DP_AUTO_PREFER_QUALITY:
|
case DEVICE_PROFILE_A2DP_AUTO_PREFER_QUALITY:
|
||||||
name = "a2dp-auto-prefer-quality";
|
name = "a2dp-auto-prefer-quality";
|
||||||
desc = _("Auto: Prefer Quality (A2DP)");
|
desc = _("Auto: Prefer Quality (A2DP)");
|
||||||
|
priority = 255;
|
||||||
break;
|
break;
|
||||||
case DEVICE_PROFILE_A2DP_AUTO_PREFER_LATENCY:
|
case DEVICE_PROFILE_A2DP_AUTO_PREFER_LATENCY:
|
||||||
name = "a2dp-auto-prefer-latency";
|
name = "a2dp-auto-prefer-latency";
|
||||||
desc = _("Auto: Prefer Latency (A2DP)");
|
desc = _("Auto: Prefer Latency (A2DP)");
|
||||||
|
priority = 254;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
priority = 0;
|
|
||||||
|
|
||||||
n_sink++;
|
n_sink++;
|
||||||
if (this->autoswitch_routes && (device->connected_profiles & SPA_BT_PROFILE_HEADSET_HEAD_UNIT))
|
if (this->autoswitch_routes && (device->connected_profiles & SPA_BT_PROFILE_HEADSET_HEAD_UNIT))
|
||||||
n_source++;
|
n_source++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue