diff options
| author | Nathan Perry <avaglir@gmail.com> | 2017-07-28 02:06:08 -0400 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2017-07-28 02:06:31 -0400 |
| commit | 2b1b07806bde7206d15ce87b9f05f1176c965b2f (patch) | |
| tree | 645cb3460bca7635292cd0c1bf3153146ec4e3f4 /wav/wav_test.go | |
| parent | 47877a3045c745e70b2e77a91e1f59e6f432c5df (diff) | |
initial wav impl
Diffstat (limited to 'wav/wav_test.go')
| -rw-r--r-- | wav/wav_test.go | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/wav/wav_test.go b/wav/wav_test.go index 4fa64db..a641b8f 100644 --- a/wav/wav_test.go +++ b/wav/wav_test.go @@ -6,10 +6,20 @@ import ( ) func TestLoad(t *testing.T) { - wf, err := Load("../downloader/out.wav") + ch, err := Load("../downloader/out.wav") if err != nil { t.Error(err) } - fmt.Println(wf) + ct := 0 + + for _ = range ch { + //fmt.Println(i) + ct++ + if ct%10000 == 0 { + fmt.Println(ct) + } + } + + fmt.Println("COUNT: ", ct) } |
