Searched refs:stereo_frame (Results 1 – 2 of 2) sorted by relevance
138 static int16_t stereo_frame[LC3_MAX_NUM_SAMPLES_STEREO]; in bap_usb_send_frames_to_usb() local146 if (ring_buf_space_get(&usb_out_ring_buf) < sizeof(stereo_frame)) { in bap_usb_send_frames_to_usb()176 stereo_frame[j * 2] = sample; in bap_usb_send_frames_to_usb()177 stereo_frame[j * 2 + 1] = sample; in bap_usb_send_frames_to_usb()179 stereo_frame[j * 2] = left_frame[j]; in bap_usb_send_frames_to_usb()180 stereo_frame[j * 2 + 1] = right_frame[j]; in bap_usb_send_frames_to_usb()184 rb_size = ring_buf_put(&usb_out_ring_buf, (uint8_t *)stereo_frame, in bap_usb_send_frames_to_usb()185 sizeof(stereo_frame)); in bap_usb_send_frames_to_usb()186 if (rb_size != sizeof(stereo_frame)) { in bap_usb_send_frames_to_usb()
288 static int16_t stereo_frame[LC3_MAX_NUM_SAMPLES_STEREO]; in lc3_decoder_thread() local293 if (ring_buf_space_get(&usb_ring_buf) < sizeof(stereo_frame)) { in lc3_decoder_thread()297 memset(stereo_frame, 0, sizeof(stereo_frame)); in lc3_decoder_thread()308 stereo_frame[j * 2] = left_frame[j]; in lc3_decoder_thread()309 stereo_frame[j * 2 + 1] = left_frame[j]; in lc3_decoder_thread()311 stereo_frame[j * 2] = right_frame[j]; in lc3_decoder_thread()312 stereo_frame[j * 2 + 1] = right_frame[j]; in lc3_decoder_thread()315 stereo_frame[j * 2] = left_frame[j]; in lc3_decoder_thread()316 stereo_frame[j * 2 + 1] = right_frame[j]; in lc3_decoder_thread()320 add_to_usb_ring_buf(stereo_frame); in lc3_decoder_thread()