Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_audio_codec_cap Struct Reference

Codec capability 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_CAP_MAX_DATA_SIZE]
 Codec Specific Capabilities Data.
 
size_t meta_len
 Codec Specific Capabilities Metadata count.
 
uint8_t meta [CONFIG_BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE]
 Codec Specific Capabilities Metadata.
 

Detailed Description

Codec capability structure.

Field Documentation

◆ cid

uint16_t bt_audio_codec_cap::cid

Codec Company ID.

◆ ctlr_transcode

bool bt_audio_codec_cap::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_cap::data[CONFIG_BT_AUDIO_CODEC_CAP_MAX_DATA_SIZE]

Codec Specific Capabilities Data.

◆ data_len

size_t bt_audio_codec_cap::data_len

Codec Specific Capabilities Data count.

◆ id

uint8_t bt_audio_codec_cap::id

Codec ID.

◆ meta

uint8_t bt_audio_codec_cap::meta[CONFIG_BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE]

Codec Specific Capabilities Metadata.

◆ meta_len

size_t bt_audio_codec_cap::meta_len

Codec Specific Capabilities Metadata count.

◆ path_id

uint8_t bt_audio_codec_cap::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_cap::vid

Codec Company Vendor ID.


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