Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c495 const size_t first_read_cnt = USB_IN_RING_BUF_SIZE - idx; in usb_ring_buf_get() local
496 const size_t second_read_cnt = cnt - first_read_cnt; in usb_ring_buf_get()
498 memcpy(dest, &src[idx], first_read_cnt * USB_BYTES_PER_SAMPLE); in usb_ring_buf_get()
499 memcpy(&dest[first_read_cnt], &src[0], second_read_cnt * USB_BYTES_PER_SAMPLE); in usb_ring_buf_get()