]> Sergey Matveev's repositories - go-opus.git/commitdiff
Fix comment typo.
authorDocMerlin <landivar@gmail.com>
Mon, 31 Jul 2017 04:50:19 +0000 (23:50 -0500)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2017 04:50:19 +0000 (23:50 -0500)
Fixes a comment typo

decoder.go

index 6ca40b264dee1e6ef293089a4d331a7955993859..a131a23ec9ba082cd6e8bc743a35f9979404a68d 100644 (file)
@@ -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