From d162843fbbba87b8dc555bc8bc9444c8d5d5ebe2 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 26 Sep 2016 23:08:34 +0900 Subject: [PATCH] audio: Add comment --- audio/audio.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/audio.go b/audio/audio.go index 4b20dca83..0b1e3df95 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -153,6 +153,9 @@ func (p *players) hasSource(src ReadSeekCloser) bool { // A Context is a current state of audio. // +// There should be at most one Context object. +// This means only one constant sample rate is valid in your one application. +// // The typical usage with ebiten package is: // // var audioContext *audio.Context