mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: telephony: add Address property on the AudioGateway interface
This allows associating the AG with a remote device on higher level software.
This commit is contained in:
parent
a0356cf4ae
commit
7de0419ca3
3 changed files with 90 additions and 36 deletions
|
|
@ -2159,6 +2159,7 @@ static bool rfcomm_hfp_hf(struct rfcomm *rfcomm, char* token)
|
|||
}
|
||||
|
||||
rfcomm->telephony_ag = telephony_ag_new(backend->telephony, 0);
|
||||
rfcomm->telephony_ag->address = strdup(rfcomm->device->address);
|
||||
telephony_ag_set_callbacks(rfcomm->telephony_ag,
|
||||
&telephony_ag_callbacks, rfcomm);
|
||||
if (rfcomm->transport) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue