]> Sergey Matveev's repositories - go-opus.git/commitdiff
Changed comments in opus_test.go
authorelinor <elinor.alp@gmail.com>
Mon, 2 Apr 2018 10:49:26 +0000 (13:49 +0300)
committerelinor <elinor.alp@gmail.com>
Mon, 2 Apr 2018 10:49:26 +0000 (13:49 +0300)
opus_test.go

index 99230dd0fa156010a8a86df79469e288e2095bc6..930ee13186686914eb522ed6b7849de150a883d4 100644 (file)
@@ -164,11 +164,7 @@ func TestCodecFEC(t *testing.T) {
                t.Fatalf("Input/Output length mismatch: %d samples in, %d out", len(mono), len(pcm))
        }
 
-       // This is hard to check programatically, but I plotted the graphs in a
-       // spreadsheet and it looked great. The encoded waves both start out with a
-       // string of zero samples before they pick up, and the G4 is phase shifted
-       // by half a period, but that's all fine for lossy audio encoding.
-
+       // Commented out for the same reason as in TestStereo
        /*
                fmt.Printf("in,out\n")
                for i := range mono {
@@ -250,11 +246,7 @@ func TestCodecFECFloat32(t *testing.T) {
                t.Fatalf("Input/Output length mismatch: %d samples in, %d out", len(mono), len(pcm))
        }
 
-       // This is hard to check programatically, but I plotted the graphs in a
-       // spreadsheet and it looked great. The encoded waves both start out with a
-       // string of zero samples before they pick up, and the G4 is phase shifted
-       // by half a period, but that's all fine for lossy audio encoding.
-
+       // Commented out for the same reason as in TestStereo
        /*
                fmt.Printf("in,out\n")
                for i := 0; i < len(mono); i++ {