Home
last modified time | relevance | path

Searched refs:right_frames_cnt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Dbap_usb.c56 size_t right_frames_cnt; member
125 decoded_sdu.right_frames_cnt == 0U && decoded_sdu.mono_frames_cnt == 0U; in bap_usb_send_frames_to_usb()
129 decoded_sdu.left_frames_cnt == 0U && decoded_sdu.right_frames_cnt == 0U; in bap_usb_send_frames_to_usb()
133 MAX(decoded_sdu.left_frames_cnt, decoded_sdu.right_frames_cnt)); in bap_usb_send_frames_to_usb()
236 (decoded_sdu.left_frames_cnt != 0U || decoded_sdu.right_frames_cnt != 0U))) { in bap_usb_add_frame_to_usb()
259 if (is_left && decoded_sdu.left_frames_cnt > decoded_sdu.right_frames_cnt) { in bap_usb_add_frame_to_usb()
262 } else if (is_right && decoded_sdu.right_frames_cnt > decoded_sdu.left_frames_cnt) { in bap_usb_add_frame_to_usb()
284 if (decoded_sdu.right_frames_cnt >= ARRAY_SIZE(decoded_sdu.right_frames)) { in bap_usb_add_frame_to_usb()
290 memcpy(decoded_sdu.right_frames[decoded_sdu.right_frames_cnt++], frame, frame_size); in bap_usb_add_frame_to_usb()
315 decoded_sdu.right_frames_cnt = 0U; in bap_usb_clear_frames_to_usb()
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c163 size_t right_frames_cnt = 0; in lc3_decoder_thread() local
227 out_frame = right_frames[right_frames_cnt++]; in lc3_decoder_thread()
256 const bool is_left_only = right_frames_cnt == 0U; in lc3_decoder_thread()
259 if (!is_left_only && !is_right_only && left_frames_cnt != right_frames_cnt) { in lc3_decoder_thread()
262 left_frames_cnt, right_frames_cnt); in lc3_decoder_thread()
267 for (size_t i = 0U; i < MAX(left_frames_cnt, right_frames_cnt); i++) { in lc3_decoder_thread()