From 2d3bd42df212ea2ba4f795fe2364bc4e87ab0851 Mon Sep 17 00:00:00 2001 From: Mohammed Mohsin <59914433+mdmohsin7@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:06:50 +0530 Subject: [PATCH] add framesize for opus --- OpenGlass/firmware/firmware.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenGlass/firmware/firmware.ino b/OpenGlass/firmware/firmware.ino index ca000b025..44be52819 100644 --- a/OpenGlass/firmware/firmware.ino +++ b/OpenGlass/firmware/firmware.ino @@ -35,6 +35,7 @@ OpusEncoder *opus_encoder = nullptr; #define CHANNELS 1 #define MAX_PACKET_SIZE 1000 +#define FRAME_SIZE 160 #define SAMPLE_RATE 16000 #define SAMPLE_BITS 16