Searched refs:frame_dur (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | codec.c | 99 int bt_audio_codec_cfg_frame_dur_to_frame_dur_us(enum bt_audio_codec_cfg_frame_dur frame_dur) in bt_audio_codec_cfg_frame_dur_to_frame_dur_us() argument 101 switch (frame_dur) { in bt_audio_codec_cfg_frame_dur_to_frame_dur_us() 426 enum bt_audio_codec_cfg_frame_dur frame_dur; in bt_audio_codec_cfg_get_frame_dur() local 444 frame_dur = data[0]; in bt_audio_codec_cfg_get_frame_dur() 445 if (bt_audio_codec_cfg_frame_dur_to_frame_dur_us(frame_dur) < 0) { in bt_audio_codec_cfg_get_frame_dur() 446 LOG_DBG("Invalid frame_dur value: 0x%02X", frame_dur); in bt_audio_codec_cfg_get_frame_dur() 450 return frame_dur; in bt_audio_codec_cfg_get_frame_dur() 454 enum bt_audio_codec_cfg_frame_dur frame_dur) in bt_audio_codec_cfg_set_frame_dur() argument 458 if (bt_audio_codec_cfg_frame_dur_to_frame_dur_us(frame_dur) < 0) { in bt_audio_codec_cfg_set_frame_dur() 459 LOG_DBG("Invalid freq value: %d", frame_dur); in bt_audio_codec_cfg_set_frame_dur() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | audio.h | 561 static inline char *codec_cap_frame_dur_bit_to_str(enum bt_audio_codec_cap_frame_dur frame_dur) in codec_cap_frame_dur_bit_to_str() argument 563 switch (frame_dur) { in codec_cap_frame_dur_bit_to_str() 578 enum bt_audio_codec_cap_frame_dur frame_dur) in print_codec_cap_frame_dur() argument 587 if (frame_dur & bit_val) { in print_codec_cap_frame_dur() 784 enum bt_audio_codec_cfg_frame_dur frame_dur) in print_codec_cfg_frame_dur() argument 787 bt_audio_codec_cfg_frame_dur_to_frame_dur_us(frame_dur), (uint8_t)frame_dur); in print_codec_cfg_frame_dur()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/audio/ |
D | audio.h | 1087 int bt_audio_codec_cfg_frame_dur_to_frame_dur_us(enum bt_audio_codec_cfg_frame_dur frame_dur); 1122 enum bt_audio_codec_cfg_frame_dur frame_dur); 1735 enum bt_audio_codec_cap_frame_dur frame_dur);
|
/Zephyr-Core-3.7.0/tests/bluetooth/audio/codec/src/ |
D | main.c | 194 enum bt_audio_codec_cfg_frame_dur frame_dur; in ZTEST() member 197 {.frame_dur = BT_AUDIO_CODEC_CFG_DURATION_7_5, .frame_dur_us = 7500U}, in ZTEST() 198 {.frame_dur = BT_AUDIO_CODEC_CFG_DURATION_10, .frame_dur_us = 10000U}, in ZTEST() 204 zassert_equal(bt_audio_codec_cfg_frame_dur_to_frame_dur_us(fdti->frame_dur), in ZTEST() 206 fdti->frame_dur, fdti->frame_dur_us); in ZTEST() 208 fdti->frame_dur, "frame_dur_us %u was not coverted to %d", in ZTEST() 209 fdti->frame_dur_us, fdti->frame_dur); in ZTEST()
|