From 863f618cb90eb915320b008ad90886386331d019 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak <dos@dosowisko.net> Date: Fri, 15 Sep 2023 16:02:14 +0200 Subject: [PATCH] media: Increase buffer size to 14336 (28kb / 150ms) This lets the playback be smooth even with apps with somewhat heavy think functions or that draw with direct ctx and also helps a bit when garbage collection kicks in. --- components/st3m/st3m_media.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/st3m/st3m_media.h b/components/st3m/st3m_media.h index a0286395f2..fc7f512dfb 100644 --- a/components/st3m/st3m_media.h +++ b/components/st3m/st3m_media.h @@ -4,7 +4,7 @@ #include <stdbool.h> #include <stdint.h> -#define AUDIO_BUF_SIZE (8192) +#define AUDIO_BUF_SIZE (14336) typedef struct _st3m_media st3m_media; -- GitLab