encoder.go | 5 +++-- diff --git a/encoder.go b/encoder.go index 1099ae882f92eb255d1c77ee3fbd70ba8953ee99..58a541b573517dd46cd1847ef28839059e438332 100644 --- a/encoder.go +++ b/encoder.go @@ -36,8 +36,9 @@ } return &enc, nil } -// Init initializes a pre-allocated opus encoder. Must be called exactly once in -// the life-time of this object, before calling any other methods. +// Init initializes a pre-allocated opus encoder. Unless the encoder has been +// created using NewEncoder, this method must be called exactly once in the +// life-time of this object, before calling any other methods. func (enc *Encoder) Init(sample_rate int, channels int, application Application) error { if enc.p != nil { return fmt.Errorf("opus encoder already initialized")