nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
bt_le_audio_tx.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _LE_AUDIO_TX_H_
8#define _LE_AUDIO_TX_H_
9
10#include <zephyr/bluetooth/audio/audio.h>
11#include <zephyr/bluetooth/audio/bap.h>
12#include <zephyr/bluetooth/audio/cap.h>
13
14#include "le_audio.h"
15
18 struct bt_cap_stream *cap_stream;
20};
21
34int bt_le_audio_tx_send(struct le_audio_tx_info *tx, uint8_t num_tx,
35 struct le_audio_encoded_audio enc_audio);
36
46
56
61
62#endif /* _LE_AUDIO_TX_H_ */
void bt_le_audio_tx_init(void)
Initializes the TX path for ISO transmission.
int bt_le_audio_tx_stream_started(struct stream_index stream_idx)
Initializes a stream. Must be called when a TX stream is started.
int bt_le_audio_tx_stream_sent(struct stream_index stream_idx)
Frees a TX buffer. Must be called when a TX stream has been sent.
int bt_le_audio_tx_send(struct le_audio_tx_info *tx, uint8_t num_tx, struct le_audio_encoded_audio enc_audio)
Allocates buffers and sends data to the controller.
Encoded audio data and information.
Definition: le_audio.h:63
struct bt_cap_stream * cap_stream
Definition: bt_le_audio_tx.h:18
struct stream_index idx
Definition: bt_le_audio_tx.h:17
uint8_t audio_channel
Definition: bt_le_audio_tx.h:19
Definition: bt_le_audio_tx.h:16
Definition: le_audio.h:69