From: Hraban Luyat Date: Tue, 30 Aug 2016 16:17:18 +0000 (+0100) Subject: Go error in readme X-Git-Tag: v2.0.0~63 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4e83c9e0b3978275b9f6069bcd405650a4b5cd02;p=go-opus.git Go error in readme --- diff --git a/README.md b/README.md index 2f5aa3f..d392edb 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ if err != nil { Now pass it the opus bytes, and a buffer to store the PCM sound in: ```go -var frame_size_ms float32 := ... // if you don't know, go with 60 ms. +var frame_size_ms float32 = ... // if you don't know, go with 60 ms. frame_size := frame_size_ms * sample_rate / 1000 pcm := make([]byte, int(frame_size)) n, err := dec.Decode(data, pcm)