From f0e0e66def8d4e9cb44c191f5064c15e6ee8beaf Mon Sep 17 00:00:00 2001
From: dh1tw <tobias@dh1tw.de>
Date: Fri, 30 Dec 2016 19:46:26 +0100
Subject: [PATCH] fixed typos

---
 encoder.go      | 2 +-
 encoder_test.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/encoder.go b/encoder.go
index 81a24ac..d32392d 100644
--- a/encoder.go
+++ b/encoder.go
@@ -285,7 +285,7 @@ func (enc *Encoder) SetComplexity(complexity int) error {
 	return nil
 }
 
-// Complexity returns the bitrate of the Encoder
+// Complexity returns the computational complexity used by the encoder
 func (enc *Encoder) Complexity() (int, error) {
 	var complexity C.opus_int32
 	res := C.bridge_encoder_get_complexity(enc.p, &complexity)
diff --git a/encoder_test.go b/encoder_test.go
index f1ffb68..a12db3a 100644
--- a/encoder_test.go
+++ b/encoder_test.go
@@ -137,7 +137,7 @@ func TestEncoder_SetBitrateMax(t *testing.T) {
 
 	err = enc.SetBitrateMax()
 	if err != nil {
-		t.Error("Error setting Auto bitrate:", err)
+		t.Error("Error setting Max bitrate:", err)
 	}
 
 	br, err = enc.Bitrate()
-- 
2.51.0