From 8647f76a463db12c533fb270c6961d48aa976fe6 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 13 Feb 2025 06:35:26 -0800 Subject: [PATCH] Audio: Increase buffering before FreeSurround FreeSurround needs more buffering from its input, so increase buffering of previous node to 100ms. Signed-off-by: Christopher Snowhill --- Audio/Chain/BufferChain.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Audio/Chain/BufferChain.m b/Audio/Chain/BufferChain.m index 3d06e32f9..5eb8fb4ef 100644 --- a/Audio/Chain/BufferChain.m +++ b/Audio/Chain/BufferChain.m @@ -43,7 +43,7 @@ inputNode = [[InputNode alloc] initWithController:self previous:nil]; converterNode = [[ConverterNode alloc] initWithController:self previous:inputNode]; - rubberbandNode = [[DSPRubberbandNode alloc] initWithController:self previous:converterNode latency:0.03]; + rubberbandNode = [[DSPRubberbandNode alloc] initWithController:self previous:converterNode latency:0.1]; fsurroundNode = [[DSPFSurroundNode alloc] initWithController:self previous:rubberbandNode latency:0.03]; equalizerNode = [[DSPEqualizerNode alloc] initWithController:self previous:fsurroundNode latency:0.03]; hrtfNode = [[DSPHRTFNode alloc] initWithController:self previous:equalizerNode latency:0.03];