diff --git a/stream/adpcm/adpcm_test.go b/stream/adpcm/adpcm_test.go index c420eee6..a2b82956 100644 --- a/stream/adpcm/adpcm_test.go +++ b/stream/adpcm/adpcm_test.go @@ -32,8 +32,6 @@ import ( "io/ioutil" "log" "testing" - - "bitbucket.org/ausocean/av/stream/adpcm" ) // TestEncodeBlock will read PCM data, encode it in blocks and generate ADPCM @@ -52,7 +50,7 @@ func TestEncodeBlock(t *testing.T) { comp := make([]byte, 0, outBSize*numBlocks) for i := 0; i < numBlocks; i++ { block := pcm[inBSize*i : inBSize*(i+1)] - encBlock, err := adpcm.EncodeBlock(block) + encBlock, err := EncodeBlock(block) if err != nil { log.Fatal(err) } @@ -86,7 +84,7 @@ func TestDecodeBlock(t *testing.T) { decoded := make([]byte, 0, outBSize*numBlocks) for i := 0; i < numBlocks; i++ { block := comp[inBSize*i : inBSize*(i+1)] - decBlock, err := adpcm.DecodeBlock(block) + decBlock, err := DecodeBlock(block) if err != nil { log.Fatal(err) }