fix(plip): raise /game/file MAX_BODY to 3 MB
Neural-TTS (Kyutai) gamebook narration WAVs run ~1.5 MB per passage at 16 kHz, over the old 512 KB cap. Streamed in 2 KB chunks so the larger cap stays RAM-safe.
This commit was merged in pull request #42.
This commit is contained in:
@@ -54,8 +54,9 @@
|
||||
|
||||
#define SPIFFS_LABEL "storage"
|
||||
#define SPIFFS_BASE "/spiffs"
|
||||
#define MAX_BODY (512 * 1024) /* streamed in 2 KB chunks → RAM-safe; raised
|
||||
so full-length say() hint WAVs fit on SD */
|
||||
#define MAX_BODY (3 * 1024 * 1024) /* streamed in 2 KB chunks → RAM-safe;
|
||||
raised to fit full-length neural-TTS
|
||||
(Kyutai) gamebook narration WAVs */
|
||||
|
||||
static volatile bool s_connected = false;
|
||||
static httpd_handle_t s_httpd = NULL;
|
||||
|
||||
Reference in New Issue
Block a user