Message ID | 20240313194400.1397477-6-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v4,1/6] client/player: Split unicast and broadcast presets | expand |
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 1034202cb8a0..964ba9c212e8 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -841,6 +841,9 @@ static struct bap_setup *setup_new(struct bap_ep *ep) /* Mark BIG and BIS to be auto assigned */ setup->qos.bcast.big = BT_ISO_QOS_BIG_UNSET; setup->qos.bcast.bis = BT_ISO_QOS_BIS_UNSET; + setup->qos.bcast.sync_factor = 0x01; + setup->qos.bcast.sync_timeout = BT_ISO_SYNC_TIMEOUT; + setup->qos.bcast.timeout = BT_ISO_SYNC_TIMEOUT; setup->qos_parser = setup_parse_bcast_qos; setup->destroy = setup_bcast_destroy; } else {
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This adds proper default for broadcast setup so it doesn't fail to create the socket due to users not setting them. --- profiles/audio/bap.c | 3 +++ 1 file changed, 3 insertions(+)