[PATCH BlueZ v2 4/7] bap: Make default PA sync QoS public

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.43.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux