Zephyr API Documentation
3.6.0
A Scalable Open Source RTOS
|
|
3.6.0 |
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. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_8_1(_loc, _stream_context) |
Helper to declare LC3 8.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_8_2(_loc, _stream_context) |
Helper to declare LC3 8.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_16_1(_loc, _stream_context) |
Helper to declare LC3 16.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_16_2(_loc, _stream_context) |
Helper to declare LC3 16.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_24_1(_loc, _stream_context) |
Helper to declare LC3 24.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_24_2(_loc, _stream_context) |
Helper to declare LC3 24.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_32_1(_loc, _stream_context) |
Helper to declare LC3 32.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_32_2(_loc, _stream_context) |
Helper to declare LC3 32.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_441_1(_loc, _stream_context) |
Helper to declare LC3 441.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_441_2(_loc, _stream_context) |
Helper to declare LC3 441.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_1(_loc, _stream_context) |
Helper to declare LC3 48.1 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_2(_loc, _stream_context) |
Helper to declare LC3 48.2 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_3(_loc, _stream_context) |
Helper to declare LC3 48.3 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_4(_loc, _stream_context) |
Helper to declare LC3 48.4 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_5(_loc, _stream_context) |
Helper to declare LC3 48.5 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_CONFIG_48_6(_loc, _stream_context) |
Helper to declare LC3 48.6 codec configuration. | |
#define | BT_AUDIO_CODEC_LC3_QOS_7_5(_framing, _sdu, _rtn, _latency, _pd) BT_AUDIO_CODEC_QOS(7500u, _framing, BT_AUDIO_CODEC_QOS_2M, _sdu, _rtn, _latency, _pd) |
Helper to declare LC3 codec QoS for 7.5ms interval. | |
#define | BT_AUDIO_CODEC_LC3_QOS_7_5_UNFRAMED(_sdu, _rtn, _latency, _pd) BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, _sdu, _rtn, _latency, _pd) |
Helper to declare LC3 codec QoS for 7.5ms interval unframed input. | |
#define | BT_AUDIO_CODEC_LC3_QOS_10(_framing, _sdu, _rtn, _latency, _pd) BT_AUDIO_CODEC_QOS(10000u, _framing, BT_AUDIO_CODEC_QOS_2M, _sdu, _rtn, _latency, _pd) |
Helper to declare LC3 codec QoS for 10ms frame internal. | |
#define | BT_AUDIO_CODEC_LC3_QOS_10_UNFRAMED(_sdu, _rtn, _latency, _pd) BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, _sdu, _rtn, _latency, _pd) |
Helper to declare LC3 codec QoS for 10ms interval unframed input. | |
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
value is optional and will be included only if != 1
#define BT_AUDIO_CODEC_CAP_LC3_META | ( | _prefer_context | ) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec metadata.
#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_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_16_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 16.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_16_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 16.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_24_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 24.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_24_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 24.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_32_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 32.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_32_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 32.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_441_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 441.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_441_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 441.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_3 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.3 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_4 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.4 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_5 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.5 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_48_6 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 48.6 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_8_1 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 8.1 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_CONFIG_8_2 | ( | _loc, | |
_stream_context | |||
) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 8.2 codec configuration.
_loc | Audio channel location bitfield (bt_audio_location) |
_stream_context | Stream context (BT_AUDIO_CONTEXT_* ) |
#define BT_AUDIO_CODEC_LC3_QOS_10 | ( | _framing, | |
_sdu, | |||
_rtn, | |||
_latency, | |||
_pd | |||
) | BT_AUDIO_CODEC_QOS(10000u, _framing, BT_AUDIO_CODEC_QOS_2M, _sdu, _rtn, _latency, _pd) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec QoS for 10ms frame internal.
#define BT_AUDIO_CODEC_LC3_QOS_10_UNFRAMED | ( | _sdu, | |
_rtn, | |||
_latency, | |||
_pd | |||
) | BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, _sdu, _rtn, _latency, _pd) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec QoS for 10ms interval unframed input.
#define BT_AUDIO_CODEC_LC3_QOS_7_5 | ( | _framing, | |
_sdu, | |||
_rtn, | |||
_latency, | |||
_pd | |||
) | BT_AUDIO_CODEC_QOS(7500u, _framing, BT_AUDIO_CODEC_QOS_2M, _sdu, _rtn, _latency, _pd) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec QoS for 7.5ms interval.
#define BT_AUDIO_CODEC_LC3_QOS_7_5_UNFRAMED | ( | _sdu, | |
_rtn, | |||
_latency, | |||
_pd | |||
) | BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, _sdu, _rtn, _latency, _pd) |
#include <zephyr/bluetooth/audio/lc3.h>
Helper to declare LC3 codec QoS for 7.5ms interval unframed input.