From c7bb0a16395ab75d69f5173f3bf1ed68ee66253d Mon Sep 17 00:00:00 2001 From: faiface Date: Mon, 3 Jul 2017 17:28:54 +0200 Subject: [PATCH] minor stylistic corrections in Streamer doc --- audio/interface.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/interface.go b/audio/interface.go index f7a0a81..91d8522 100644 --- a/audio/interface.go +++ b/audio/interface.go @@ -2,8 +2,8 @@ package audio // SampleRate is the number of audio samples a Streamer should produce per one second of audio. // -// This value should be set at most once before using audio package. It is safe to rely on the fact, -// that this value does not change during runtime. +// This value should be set at most once before using audio package. It is safe to assume that this +// value does not change during runtime. var SampleRate = 48000 // Streamer is able to stream a finite or infinite sequence of audio samples. @@ -32,7 +32,7 @@ type Streamer interface { // // 3. n == 0 && !ok // - // The Streamer is drained and no more samples will come. Only this case may occur in the + // Streamer is drained and no more samples will come. Only this case may occur in the // following calls. Stream(samples [][2]float64) (n int, ok bool) }