Home
last modified time | relevance | path

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

/btstack/port/esp32/components/btstack/
H A Dbtstack_audio_esp32_v4.c113 static uint16_t btstack_audio_esp32_samples_per_dma_buffer; variable
237btstack_audio_esp32_samples_per_dma_buffer = btstack_audio_esp32_i2s_samplerate * 2 * DRIVER_POLL_… in btstack_audio_esp32_init()
247btstack_audio_esp32_samples_per_dma_buffer = btstack_audio_esp32_i2s_samplerate * 2 * DRIVER_POLL_… in btstack_audio_esp32_init()
250 btstack_assert(btstack_audio_esp32_samples_per_dma_buffer <= MAX_DMA_BUFFER_SAMPLES); in btstack_audio_esp32_init()
260 ….dma_buf_len = btstack_audio_esp32_samples_per_dma_buffer, // Size of each DMA buffer in … in btstack_audio_esp32_init()
278 i2s_mode, btstack_audio_esp32_sink_samplerate, btstack_audio_esp32_samples_per_dma_buffer); in btstack_audio_esp32_init()
313 btstack_assert(btstack_audio_esp32_samples_per_dma_buffer <= MAX_DMA_BUFFER_SAMPLES); in btstack_audio_esp32_sink_fill_buffer()
317 uint16_t data_len = btstack_audio_esp32_samples_per_dma_buffer * BYTES_PER_SAMPLE_STEREO; in btstack_audio_esp32_sink_fill_buffer()
320 …callback)((int16_t *) btstack_audio_esp32_sink_buffer, btstack_audio_esp32_samples_per_dma_buffer); in btstack_audio_esp32_sink_fill_buffer()
325 for (i=btstack_audio_esp32_samples_per_dma_buffer-1;i >= 0; i--){ in btstack_audio_esp32_sink_fill_buffer()
[all …]