From fd4ede58cae7681243cb4cdbb3c32c6107fbcbdf Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 29 Aug 2019 22:00:27 -0700 Subject: [PATCH] Reduce the size of the audio circular buffer to reduce peak latency --- Limelight/Stream/Connection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/Stream/Connection.m b/Limelight/Stream/Connection.m index b715538..763ef4c 100644 --- a/Limelight/Stream/Connection.m +++ b/Limelight/Stream/Connection.m @@ -32,7 +32,7 @@ static id _callbacks; #define OUTPUT_BUS 0 -#define CIRCULAR_BUFFER_SIZE 32 +#define CIRCULAR_BUFFER_SIZE 8 static int audioBufferWriteIndex; static int audioBufferReadIndex;