Searched refs:codec_frame (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/tests/bluetooth/audio/codec/src/ |
D | main.c | 1236 struct bt_audio_codec_octets_per_codec_frame codec_frame; in ZTEST() local 1240 ret = bt_audio_codec_cap_get_octets_per_frame(&codec_cap, &codec_frame); in ZTEST() 1242 zassert_equal(codec_frame.min, expected.min, "Unexpected minimum value %d", in ZTEST() 1243 codec_frame.min); in ZTEST() 1244 zassert_equal(codec_frame.max, expected.max, "Unexpected maximum value %d", in ZTEST() 1245 codec_frame.max); in ZTEST() 1254 struct bt_audio_codec_octets_per_codec_frame codec_frame; in ZTEST() local 1257 ret = bt_audio_codec_cap_get_octets_per_frame(&codec_cap, &codec_frame); in ZTEST() 1259 zassert_equal(codec_frame.min, 40U, "Unexpected minimum value %d", codec_frame.min); in ZTEST() 1260 zassert_equal(codec_frame.max, 120U, "Unexpected maximum value %d", codec_frame.max); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | codec.c | 2066 struct bt_audio_codec_octets_per_codec_frame *codec_frame) in bt_audio_codec_cap_get_octets_per_frame() argument 2076 CHECKIF(codec_frame == NULL) { in bt_audio_codec_cap_get_octets_per_frame() 2090 codec_frame->min = sys_get_le16(data); in bt_audio_codec_cap_get_octets_per_frame() 2091 codec_frame->max = sys_get_le16(data + sizeof(codec_frame->min)); in bt_audio_codec_cap_get_octets_per_frame() 2098 const struct bt_audio_codec_octets_per_codec_frame *codec_frame) in bt_audio_codec_cap_set_octets_per_frame() argument 2107 CHECKIF(codec_frame == NULL) { in bt_audio_codec_cap_set_octets_per_frame() 2112 if (codec_frame->min > codec_frame->max) { in bt_audio_codec_cap_set_octets_per_frame() 2113 LOG_DBG("Invalid codec_frame values: %u/%u", codec_frame->min, codec_frame->max); in bt_audio_codec_cap_set_octets_per_frame() 2117 sys_put_le16(codec_frame->min, codec_frame_le32); in bt_audio_codec_cap_set_octets_per_frame() 2118 sys_put_le16(codec_frame->max, codec_frame_le32 + 2); in bt_audio_codec_cap_set_octets_per_frame()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | audio.h | 637 const struct bt_audio_codec_octets_per_codec_frame *codec_frame) in print_codec_cap_octets_per_codec_frame() argument 642 shell_print(sh, "%*sMin: %u", indent, "", codec_frame->min); in print_codec_cap_octets_per_codec_frame() 643 shell_print(sh, "%*sMax: %u", indent, "", codec_frame->max); in print_codec_cap_octets_per_codec_frame() 668 struct bt_audio_codec_octets_per_codec_frame codec_frame; in print_codec_cap() local 688 ret = bt_audio_codec_cap_get_octets_per_frame(codec_cap, &codec_frame); in print_codec_cap() 690 print_codec_cap_octets_per_codec_frame(sh, indent, &codec_frame); in print_codec_cap()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/audio/ |
D | audio.h | 1778 struct bt_audio_codec_octets_per_codec_frame *codec_frame); 1792 const struct bt_audio_codec_octets_per_codec_frame *codec_frame);
|