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:
Pauli Virtanen 2025-06-07 22:17:56 +03:00 committed by Wim Taymans
parent 3f9fb8d664
commit 83f6d719b1
7 changed files with 24 additions and 32 deletions

View file

@ -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;