Commit: f3a43bd0e4af7a6b4265a6664b1bd70a2beaf29e
Parent: 06d20a80249b177ed2c3794c68334e1935eacaec
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-09-09 19:10:55
Tree: 816bc0830808cca3fc2995e57f43e6ffcb9ee8e4

bass: Add APIs to probe/remove Broadcasters This adds BASS APIs to probe/remove Broadcasters probed by BAP. The BAP plugin might probe Broadcasters that were either scanned autonomously, or that were added by a Broadcast Assistant through BASS. After performing long-lived PA sync with a Broadcaster added by a Broadcast Assistant, the BAP plugin will call the BASS probe API, to inform BASS that PA has been established with the Broadcast Source and to provide a reference to the created bt_bap session. Once a Broadcaster has been probed, BASS will update the PA sync state inside the corresponding Broadcast Receive State characteristic and the peer Broadcast Assistant will be notified about the update. Once the BAP session with a Broadcaster is deleted, the BASS remove API will be called, to inform BASS that the Source is no longer active. The BASS plugin will update the PA sync field of the corresponding Broadcast Receive State characteristic and it will notify the peer Broadcast Assistant that PA sync is no longer established with the Source.

Diffstat

M profiles/audio/bass.c | 51 ++++++++++++++++++++++++++++++++++++++++
M profiles/audio/bass.h | 3 +++

2 files changed, 54 insertions(+), 0 deletions(-)

View Full Diff | Patch