Config psram allocation - fixed network delay around 400 ms client side

This commit is contained in:
Jorgen Kragh Jakobsen
2020-05-26 18:22:15 +02:00
Unverified
parent bed9c09472
commit cb202140bd
3 changed files with 1293 additions and 1244 deletions

View File

@@ -102,7 +102,7 @@ static void dsp_i2s_task_handler(void *arg)
cnt++;
vRingbufferGetInfo(s_ringbuf_i2s, &freeBuffer, &rbuf, &wbuf, NULL, &inBuffer );
rwdif = (uint32_t)(wbuf-rbuf);
if (rwdif < 60000) { vTaskDelay(1); }
if (rwdif < 60000) { vTaskDelay(2); }
audio = (uint8_t *)xRingbufferReceiveUpTo(s_ringbuf_i2s, &chunk_size, (portTickType)portMAX_DELAY,960);
//audio = (uint8_t *)xRingbufferReceive(s_ringbuf_i2s, &chunk_size, (portTickType)portMAX_DELAY);
if (chunk_size !=0 ){

1310
sdkconfig

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff