From 7b76b7822f5ad7d572d2de4798b01f89bb8aaa9c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 17 Dec 2017 01:24:45 +0900 Subject: [PATCH] audio: Fix comments --- audio/audio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio.go b/audio/audio.go index 3866e73dc..386194a35 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -246,7 +246,7 @@ func (c *Context) loop() { // This is a heuristic decision of audio buffer size. // On most desktops, 1/30[s] is enough but there are some known environment that is too short (e.g. Windows on Parallels). - // On desktop browsers, 1/15[s] should work with any sample rate except for mobile browsers. + // On browsers, 1/15[s] should work with any sample rate except for Android Chrome. // On mobiles, we don't have enough data. For iOS, 1/30[s] is too short and 1/20[s] seems fine. 1/15[s] is safer. bufferSize := c.sampleRate * channelNum * bytesPerSample / 15 if web.IsAndroidChrome() {