From e8895d8f3589ea3fd0d53f0e4d9bf9764dcc5dd1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 10 Feb 2016 01:04:43 +0900 Subject: [PATCH] audio: Use bigger buffer to reduce noise (#149) --- internal/audio/audio_js.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/audio/audio_js.go b/internal/audio/audio_js.go index 9482cbe91..2d688a343 100644 --- a/internal/audio/audio_js.go +++ b/internal/audio/audio_js.go @@ -98,7 +98,7 @@ func initialize() { } go func() { for { - const bufferSize = 1024 + const bufferSize = 2048 c := context.Get("currentTime").Float() for _, a := range audioProcessors { if a.position < c {