Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_audio_codec_cfg Struct Reference

Codec specific configuration structure. More...

#include <audio.h>

Data Fields

uint8_t path_id
 Data path ID.
 
bool ctlr_transcode
 Whether or not the local controller should transcode.
 
uint8_t id
 Codec ID.
 
uint16_t cid
 Codec Company ID.
 
uint16_t vid
 Codec Company Vendor ID.
 
size_t data_len
 Codec Specific Capabilities Data count.
 
uint8_t data [CONFIG_BT_AUDIO_CODEC_CFG_MAX_DATA_SIZE]
 Codec Specific Capabilities Data.
 
size_t meta_len
 Codec Specific Capabilities Metadata count.
 
uint8_t meta [CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE]
 Codec Specific Capabilities Metadata.
 

Detailed Description

Codec specific configuration structure.

Field Documentation

◆ cid

uint16_t bt_audio_codec_cfg::cid

Codec Company ID.

◆ ctlr_transcode

bool bt_audio_codec_cfg::ctlr_transcode

Whether or not the local controller should transcode.

This effectively sets the coding format for the ISO data path to BT_HCI_CODING_FORMAT_TRANSPARENT if false, else uses the bt_audio_codec_cfg::id.

◆ data

uint8_t bt_audio_codec_cfg::data[CONFIG_BT_AUDIO_CODEC_CFG_MAX_DATA_SIZE]

Codec Specific Capabilities Data.

◆ data_len

size_t bt_audio_codec_cfg::data_len

Codec Specific Capabilities Data count.

◆ id

uint8_t bt_audio_codec_cfg::id

Codec ID.

◆ meta

uint8_t bt_audio_codec_cfg::meta[CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE]

Codec Specific Capabilities Metadata.

◆ meta_len

size_t bt_audio_codec_cfg::meta_len

Codec Specific Capabilities Metadata count.

◆ path_id

uint8_t bt_audio_codec_cfg::path_id

Data path ID.

BT_ISO_DATA_PATH_HCI for HCI path, or any other value for vendor specific ID.

◆ vid

uint16_t bt_audio_codec_cfg::vid

Codec Company Vendor ID.


The documentation for this struct was generated from the following file: