]> Sergey Matveev's repositories - go-opus.git/commitdiff
Go error in readme
authorHraban Luyat <hraban@0brg.net>
Tue, 30 Aug 2016 16:17:18 +0000 (17:17 +0100)
committerHraban Luyat <hraban@0brg.net>
Tue, 30 Aug 2016 16:17:18 +0000 (17:17 +0100)
README.md

index 2f5aa3f9b71fbe0d466ada9d704b4f71a5514cf7..d392edb0b595763f40b467146f9050c9338d9184 100644 (file)
--- 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)