Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
LC3 . More...
Macros | |
#define | BT_AUDIO_CODEC_CAP_LC3_DATA(_freq, _duration, _chan_count, _len_min, _len_max, _max_frames_per_sdu) |
Helper to declare LC3 codec capability. | |
#define | BT_AUDIO_CODEC_CAP_LC3_META(_prefer_context) |
Helper to declare LC3 codec metadata. | |
#define | BT_AUDIO_CODEC_CAP_LC3(_freq, _duration, _chan_count, _len_min, _len_max, _max_frames_per_sdu, _prefer_context) |
Helper to declare LC3 codec. | |
#define | BT_AUDIO_CODEC_CFG_LC3_DATA(_freq, _duration, _loc, _len, _frames_per_sdu) |
Helper to declare LC3 codec data configuration. | |
#define | BT_AUDIO_CODEC_CFG_LC3_META(_stream_context) |
Helper to declare LC3 codec metadata configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG(_freq, _duration, _loc, _len, _frames_per_sdu, _stream_context) |
Helper to declare LC3 codec configuration. | |
LC3 .
#define BT_AUDIO_CODEC_CAP_LC3 | ( | _freq, | |
_duration, | |||
_chan_count, | |||
_len_min, | |||
_len_max, | |||
_max_frames_per_sdu, | |||
_prefer_context ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec.
_freq | Supported Sampling Frequencies bitfield (see BT_AUDIO_CODEC_CAP_FREQ_* ) |
_duration | Supported Frame Durations bitfield (see BT_AUDIO_CODEC_CAP_DURATION_* ) |
_chan_count | Supported channels (see BT_AUDIO_CODEC_CAP_CHAN_COUNT_SUPPORT) |
_len_min | Minimum number of octets supported per codec frame |
_len_max | Maximum number of octets supported per codec frame |
_max_frames_per_sdu | Supported maximum codec frames per SDU |
_prefer_context | Preferred contexts (bt_audio_context) |
#define BT_AUDIO_CODEC_CAP_LC3_DATA | ( | _freq, | |
_duration, | |||
_chan_count, | |||
_len_min, | |||
_len_max, | |||
_max_frames_per_sdu ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec capability.
_max_frames_per_sdu
is optional and will be included only if != 1
COND_CODE_1 is used to omit an LTV entry in case the _frames_per_sdu
is 1. COND_CODE_1 will evaluate to second argument if the flag parameter(first argument) is 1
_freq | Supported Sampling Frequencies bitfield (see BT_AUDIO_CODEC_CAP_FREQ_* ) |
_duration | Supported Frame Durations bitfield (see BT_AUDIO_CODEC_CAP_DURATION_* ) |
_chan_count | Supported channels (see BT_AUDIO_CODEC_CAP_CHAN_COUNT_SUPPORT) |
_len_min | Minimum number of octets supported per codec frame |
_len_max | Maximum number of octets supported per codec frame |
_max_frames_per_sdu | Supported maximum codec frames per SDU |
#define BT_AUDIO_CODEC_CAP_LC3_META | ( | _prefer_context | ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec metadata.
_prefer_context | Preferred contexts (bt_audio_context) |
#define BT_AUDIO_CODEC_CFG_LC3_DATA | ( | _freq, | |
_duration, | |||
_loc, | |||
_len, | |||
_frames_per_sdu ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec data configuration.
_freq | Sampling frequency (BT_AUDIO_CODEC_CFG_FREQ_* ) |
_duration | Frame duration (BT_AUDIO_CODEC_CFG_DURATION_* ) |
_loc | Audio channel location bitfield (bt_audio_location) |
_len | Octets per frame (16-bit integer) |
_frames_per_sdu | Frames per SDU (8-bit integer). This value is optional and will be included only if != 1 |
#define BT_AUDIO_CODEC_CFG_LC3_META | ( | _stream_context | ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec metadata configuration.
#define BT_AUDIO_CODEC_LC3_CONFIG | ( | _freq, | |
_duration, | |||
_loc, | |||
_len, | |||
_frames_per_sdu, | |||
_stream_context ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec configuration.
_freq | Sampling frequency (BT_AUDIO_CODEC_CFG_FREQ_* ) |
_duration | Frame duration (BT_AUDIO_CODEC_CFG_DURATION_* ) |
_loc | Audio channel location bitfield (bt_audio_location) |
_len | Octets per frame (16-bit integer) |
_frames_per_sdu | Frames per SDU (8-bit integer) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |