From 3babeefa17b60ff34a4859ab0e7f9b637e307575 Mon Sep 17 00:00:00 2001 From: Iulia Tanasescu Date: Wed, 20 Nov 2024 12:25:58 +0200 Subject: [PATCH] bap: Make default PA sync QoS public This make the default BAP QoS parameters for PA Create Sync public, to be available to other plugins that might need to listen for Broadcasters (like BASS). --- profiles/audio/bap.c | 2 +- profiles/audio/bap.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 2a194d709..675c33c6d 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -150,7 +150,7 @@ static struct queue *adapters; * The full QOS is populated at the time the user selects and endpoint and * configures it using SetConfiguration. */ -static struct bt_iso_qos bap_sink_pa_qos = { +struct bt_iso_qos bap_sink_pa_qos = { .bcast = { .options = 0x00, .skip = 0x0000, diff --git a/profiles/audio/bap.h b/profiles/audio/bap.h index 2968f6216..fcc443dbb 100644 --- a/profiles/audio/bap.h +++ b/profiles/audio/bap.h @@ -7,6 +7,8 @@ * */ +extern struct bt_iso_qos bap_sink_pa_qos; + struct bt_bap *bap_get_session(struct btd_device *device); void bap_scan_delegator_probe(struct btd_device *device); -- 2.47.3