diff --git a/codec/adpcm/adpcm_test.go b/codec/adpcm/adpcm_test.go index 9df24028..9c89221b 100644 --- a/codec/adpcm/adpcm_test.go +++ b/codec/adpcm/adpcm_test.go @@ -37,7 +37,7 @@ import ( // then compare the result with expected ADPCM. func TestEncodeBlock(t *testing.T) { // Read input pcm. - pcm, err := ioutil.ReadFile("../../../test/test-data/av/input/raw-voice.pcm") + pcm, err := ioutil.ReadFile("../../../test/test-data/av/input/original_8kHz_adpcm_test.pcm") if err != nil { t.Errorf("Unable to read input PCM file: %v", err) } @@ -52,7 +52,7 @@ func TestEncodeBlock(t *testing.T) { } // Read expected adpcm file. - exp, err := ioutil.ReadFile("../../../test/test-data/av/output/encoded-voice.adpcm") + exp, err := ioutil.ReadFile("../../../test/test-data/av/output/encoded_8kHz_adpcm_test.adpcm") if err != nil { t.Errorf("Unable to read expected ADPCM file: %v", err) } @@ -66,7 +66,7 @@ func TestEncodeBlock(t *testing.T) { // resulting PCM with the expected decoded PCM. func TestDecodeBlock(t *testing.T) { // Read adpcm. - comp, err := ioutil.ReadFile("../../../test/test-data/av/input/encoded-voice.adpcm") + comp, err := ioutil.ReadFile("../../../test/test-data/av/input/encoded_8kHz_adpcm_test.adpcm") if err != nil { t.Errorf("Unable to read input ADPCM file: %v", err) } @@ -81,7 +81,7 @@ func TestDecodeBlock(t *testing.T) { } // Read expected pcm file. - exp, err := ioutil.ReadFile("../../../test/test-data/av/output/decoded-voice.pcm") + exp, err := ioutil.ReadFile("../../../test/test-data/av/output/decoded_8kHz_adpcm_test.pcm") if err != nil { t.Errorf("Unable to read expected PCM file: %v", err) }