Skip to content

Commit b344f65

Browse files
committed
audio_render: change the size of the audio data buffer to 10 KBytes
1 parent 2b6d76e commit b344f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/src/user/audio_render.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#define TAG "audio_render"
2424

25-
static uint8_t buff_data[8*1024] = {0};
25+
static uint8_t buff_data[10*1024] = {0};
2626
static StaticRingbuffer_t buff_struct = {0};
2727

2828
RingbufHandle_t audio_buff = NULL;
@@ -117,7 +117,7 @@ static void audio_render_task(void *pvParameter)
117117

118118
data = (uint8_t *)xRingbufferReceiveUpTo(audio_buff, &size, 16 / portTICK_RATE_MS, remain);
119119
} else {
120-
if (++count < 160) {
120+
if (++count < 200) {
121121
vTaskDelay(1 / portTICK_RATE_MS);
122122

123123
continue;

0 commit comments

Comments
 (0)