Home
last modified time | relevance | path

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

/btstack/example/
H A Dsco_demo_util.c660 uint16_t samples_to_add = btstack_min(samples_free, REFILL_SAMPLES); in sco_demo_send() local
661 (*sco_demo_audio_generator)(samples_to_add, samples_buffer); in sco_demo_send()
662 …btstack_ring_buffer_write(&audio_input_ring_buffer, (uint8_t *)samples_buffer, samples_to_add * 2); in sco_demo_send()
663 samples_free -= samples_to_add; in sco_demo_send()