From: DocMerlin Date: Mon, 31 Jul 2017 04:50:19 +0000 (-0500) Subject: Fix comment typo. X-Git-Tag: v2.0.0~26^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6deaeb0206f942a596da2e95210f35f42fb372a4;p=go-opus.git Fix comment typo. Fixes a comment typo --- diff --git a/decoder.go b/decoder.go index 6ca40b2..a131a23 100644 --- a/decoder.go +++ b/decoder.go @@ -24,7 +24,7 @@ type Decoder struct { sample_rate int } -// NewEncoder allocates a new Opus decoder and initializes it with the +// NewDecoder allocates a new Opus decoder and initializes it with the // appropriate parameters. All related memory is managed by the Go GC. func NewDecoder(sample_rate int, channels int) (*Decoder, error) { var dec Decoder