From 017ad69e93c866f9c82eaca4d6bc9777a335c12c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 23 Jul 2022 18:17:05 +0900 Subject: [PATCH] audio: add comments --- audio/audio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio.go b/audio/audio.go index f6d87f205..a91046ec3 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -274,7 +274,7 @@ type Player struct { // NewPlayer creates a new player with the given stream. // -// src's format must be linear PCM (16bits little endian, 2 channel stereo) +// src's format must be linear PCM (signed 16bits little endian, 2 channel stereo) // without a header (e.g. RIFF header). // The sample rate must be same as that of the audio context. //