mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: media-sink: Set up node group for ASHA
ASHA devices with the same HiSyncId should use the same node group/driver.
This commit is contained in:
parent
8120493edb
commit
74fe7728d2
1 changed files with 4 additions and 0 deletions
|
|
@ -1496,6 +1496,10 @@ static void emit_node_info(struct impl *this, bool full)
|
|||
this->transport->device->adapter->address,
|
||||
this->transport->bap_big);
|
||||
node_group = node_group_buf;
|
||||
} else if (this->transport && (this->transport->profile & SPA_BT_PROFILE_ASHA_SINK)) {
|
||||
spa_scnprintf(node_group_buf, sizeof(node_group_buf), "[\"bluez-asha-%zd\"]",
|
||||
this->transport->hisyncid);
|
||||
node_group = node_group_buf;
|
||||
}
|
||||
|
||||
const char *codec_profile = this->codec->asha ? "ASHA" : (this->codec->bap ? "BAP" : "A2DP");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue