From 07e6ed357c01e3ee1f32a5ebffba819fbdb2868a Mon Sep 17 00:00:00 2001 From: Nick Culbertson Date: Fri, 20 Oct 2023 07:57:55 -0400 Subject: [PATCH] Increase BaseTapDemo.swift buffer size --- .../Sources/CookbookCommon/Recipes/WIP/BaseTapDemo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/WIP/BaseTapDemo.swift b/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/WIP/BaseTapDemo.swift index ffe8503..ba090da 100644 --- a/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/WIP/BaseTapDemo.swift +++ b/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/WIP/BaseTapDemo.swift @@ -38,7 +38,7 @@ class Conductor: ObservableObject { init() { mic = engine.input outputMixer = Mixer(mic!) - myTap = CustomTap(mic!, bufferSize: 1024, callbackQueue: .main) + myTap = CustomTap(mic!, bufferSize: 4096, callbackQueue: .main) silencer = Fader(outputMixer, gain: 0) engine.output = silencer do {