bluez5: allow same codec ID to correspond to multiple endpoints

The codec IDs are user-visible properties.

Some codecs can have multiple endpoints (e.g. different caps struct, or
multiple possible vendor ids), so this detail should not leak to the
user.
This commit is contained in:
Pauli Virtanen 2021-08-15 20:12:51 +03:00 committed by Wim Taymans
parent fc2fe12794
commit 73994feda9
3 changed files with 48 additions and 31 deletions

View file

@ -350,6 +350,7 @@ struct a2dp_codec {
const char *name;
const char *description;
const char *endpoint_name; /**< Endpoint name. If NULL, same as name */
const struct spa_dict *info;
const size_t send_buf_size;