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,