未验证 提交 62c66911 编写于 作者: O openharmony_ci 提交者: Gitee

!3109 aac编码输出由raw流切换为adts流的测试用例修改

Merge pull request !3109 from ling990/ling990
......@@ -350,7 +350,6 @@ describe('AudioEncoderFuncCallback', function () {
}
}
else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success");
}
......
......@@ -354,7 +354,6 @@ describe('AudioEncoderFuncPromise', function () {
}
}
else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success");
}
......
......@@ -17,7 +17,7 @@ import media from '@ohos.multimedia.media'
import Fileio from '@ohos.fileio'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
describe('AudioEncoderFuncPromise', function () {
describe('AudioEncoderMultiInstances', function () {
const RESOURCEPATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audioencoder/'
const AUDIOPATH = RESOURCEPATH + 'S16LE.pcm';
let readStreamSync;
......@@ -246,7 +246,6 @@ describe('AudioEncoderFuncPromise', function () {
}
}
else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册