Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Broadcast Audio Sink callback structure. More...
#include <bap.h>
Data Fields | |
void(* | base_recv )(struct bt_bap_broadcast_sink *sink, const struct bt_bap_base *base, size_t base_size) |
Broadcast Audio Source Endpoint (BASE) received. | |
void(* | syncable )(struct bt_bap_broadcast_sink *sink, const struct bt_iso_biginfo *biginfo) |
Broadcast sink is syncable. | |
Broadcast Audio Sink callback structure.
void(* bt_bap_broadcast_sink_cb::base_recv) (struct bt_bap_broadcast_sink *sink, const struct bt_bap_base *base, size_t base_size) |
Broadcast Audio Source Endpoint (BASE) received.
Callback for when we receive a BASE from a broadcaster after syncing to the broadcaster's periodic advertising.
sink | Pointer to the sink structure. |
base | Broadcast Audio Source Endpoint (BASE). |
base_size | Size of the base |
void(* bt_bap_broadcast_sink_cb::syncable) (struct bt_bap_broadcast_sink *sink, const struct bt_iso_biginfo *biginfo) |
Broadcast sink is syncable.
Called whenever a broadcast sink is not synchronized to audio, but the audio is synchronizable. This is inferred when a BIGInfo report is received.
Once this callback has been called, it is possible to call bt_bap_broadcast_sink_sync() to synchronize to the audio stream(s).
sink | Pointer to the sink structure. |
biginfo | The BIGInfo report. |