mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-31 07:11:14 -04:00
bluez5: remove HFP codec id from transports
Make HFP codec id backend/codec internal detail. Remove spa_bt_transport::codec field which is now unused.
This commit is contained in:
parent
3f9fb8d664
commit
83f6d719b1
7 changed files with 24 additions and 32 deletions
|
|
@ -3500,17 +3500,6 @@ static int transport_update_props(struct spa_bt_transport *transport,
|
|||
transport->bap_initiator = ep->acceptor;
|
||||
}
|
||||
}
|
||||
else if (spa_streq(key, "Codec")) {
|
||||
uint8_t value;
|
||||
|
||||
if (type != DBUS_TYPE_BYTE)
|
||||
goto next;
|
||||
dbus_message_iter_get_basic(&it[1], &value);
|
||||
|
||||
spa_log_debug(monitor->log, "transport %p: %s=%02x", transport, key, value);
|
||||
|
||||
transport->codec = value;
|
||||
}
|
||||
else if (spa_streq(key, "Configuration")) {
|
||||
DBusMessageIter iter;
|
||||
uint8_t *value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue