Bluetooth: BAP: Broadcast source reconfig with subgroups
Modify the bt_bap_broadcast_source_reconfig to use the same parameter struct as bt_bap_broadcast_source_create so that the two are more similar, since they both set the same values. This allow for full control of which subgroups and stream are updated. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
7fca0aa8a6
commit
d327b1625c
6 changed files with 125 additions and 35 deletions
|
@ -93,7 +93,7 @@ static int setup_broadcast_source(struct bt_bap_broadcast_source **source)
|
|||
stream_params[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT];
|
||||
struct bt_bap_broadcast_source_subgroup_param
|
||||
subgroup_param[CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT];
|
||||
struct bt_bap_broadcast_source_create_param create_param;
|
||||
struct bt_bap_broadcast_source_param create_param;
|
||||
const size_t streams_per_subgroup = ARRAY_SIZE(stream_params) / ARRAY_SIZE(subgroup_param);
|
||||
int err;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue