From 409dad47374d971edd16bdee0c7c532f2ebd52a7 Mon Sep 17 00:00:00 2001 From: Enrique Hernandez Date: Wed, 3 Mar 2021 14:29:13 -0600 Subject: [PATCH] minor tweaks to audioInput --- src/background/audio.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/audio.ts b/src/background/audio.ts index a34a59d..ac41d40 100644 --- a/src/background/audio.ts +++ b/src/background/audio.ts @@ -9,11 +9,11 @@ const portAudio = require('naudiodon'); let ai: typeof portAudio.AudioIO | null = null; let ao: typeof portAudio.AudioIO | null = null; -let audioInput: Buffer[] = []; +const audioInput: Buffer[] = []; const audioContainer = { input: '', } -let audio: Buffer | null = null; +const audio: Buffer | null = null; const encoding = "base64"; const audioOptions = { channelCount: 1, -- 2.43.0