[PATCH BlueZ v4 0/2] Update Sink BASE management

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


This patch refactors the flow for the BAP Broadcast Sink.
After discovering a new Broadcast Source a short PA Sync will be tried.
Depending on the BASE information present in the PA and the local PACS 
capabilities of the Sink, one remote media endpoint will be created for 
each compatible BIS.
Configuring one of these endpoints results in creating a stream and a 
media transport for the corresponding BIS.

Idle timer.
This patch introduces an idle timer, responsible for processing PA Sync
requests. One request is possible at a time. When a broadcast source is
discovered a new request for short PA sync is enqueued. Also, when a
SetConfiguration is requested for an existing BAP broadcast source
endpoint another request is enqueued.
The timer runs periodically and peeks for requests. In case there is no 
request in progress the timer marks the already peeked request to 
pending and starts processing it. When the request is completed, it is 
removed from the timer's queue, so that the next request can be 

Andrei Istodorescu (2):
  shared/bap: Add API to add an observed BIS
  bap: Do PA Sync for each BAP Broadcast source discovered

 profiles/audio/bap.c | 651 +++++++++++++++++++++++++++----------------
 src/shared/bap.c     | 304 +++++++++++++++++++-
 src/shared/bap.h     |  13 +-
 3 files changed, 714 insertions(+), 254 deletions(-)

base-commit: a16c2ccf9c256285188f4549b7b767cf31b100eb

[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