Searched refs:frames_to_copy (Results 1 – 1 of 1) sorted by relevance
433 int frames_to_copy = btstack_min(resampled_frames, request_frames); in handle_pcm_data() local434 memcpy(request_buffer, output_buffer, frames_to_copy * BYTES_PER_FRAME); in handle_pcm_data()435 request_frames -= frames_to_copy; in handle_pcm_data()436 request_buffer += frames_to_copy * NUM_CHANNELS; in handle_pcm_data()439 int frames_to_store = resampled_frames - frames_to_copy; in handle_pcm_data()441 …g_buffer_write(&decoded_audio_ring_buffer, (uint8_t *)&output_buffer[frames_to_copy * NUM_CHANNELS… in handle_pcm_data()