nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
Functions for LE Audio TX functionality.

Helper functions to manage LE Audio TX functionality. More...

Data Structures

struct  le_audio_tx_info
 
struct  tx_inf
 
struct  bt_le_audio_tx_ctx
 

Macros

#define HCI_ISO_BUF_PER_CHAN   2
 
#define SUBGROUP_MAX   1
 
#define TX_STREAMS_MAX   CONFIG_BT_ISO_MAX_CHAN
 
#define TX_BUF_NUM   (TX_STREAMS_MAX * HCI_ISO_BUF_PER_CHAN)
 
#define BT_LE_AUDIO_TX_DEFINE(name)
 
#define BT_LE_AUDIO_TX_DEFINE_INDEXED(name, group_idx, subgroup_idx)
 

Functions

int bt_le_audio_tx_send (struct bt_le_audio_tx_ctx *ctx, struct net_buf const *const audio_frame, struct le_audio_tx_info *tx, uint8_t num_tx)
 Sends N channels of synchronized audio data to the controller.
 
int bt_le_audio_tx_stream_started (struct bt_le_audio_tx_ctx *ctx, struct stream_index stream_idx)
 Initializes per-stream TX bookkeeping when a stream enters streaming state.
 
int bt_le_audio_tx_stream_sent (struct bt_le_audio_tx_ctx *ctx, struct stream_index stream_idx)
 Releases one outstanding TX pool allocation for the provided stream.
 
int bt_le_audio_tx_init (struct bt_le_audio_tx_ctx *ctx, bool is_clock_master)
 Initializes the TX path context and shared ISO flush worker.
 

Detailed Description

Helper functions to manage LE Audio TX functionality.