From 4e83c9e0b3978275b9f6069bcd405650a4b5cd02 Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Tue, 30 Aug 2016 17:17:18 +0100 Subject: [PATCH] Go error in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.48.1