Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
190d4ca3
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
190d4ca3
编写于
2月 13, 2023
作者:
L
lwx1121892
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete audiocapturer resource
Signed-off-by:
N
lwx1121892
<
liuxueqi3@huawei.com
>
上级
a9638e71
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
2 addition
and
18 deletion
+2
-18
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
+0
-16
multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js
...dard/audioRenderer/src/main/js/test/AudioRenderer.test.js
+2
-2
未找到文件。
multimedia/audio/audio_js_standard/AudioCapturer/Test.json
浏览文件 @
190d4ca3
...
...
@@ -20,8 +20,6 @@
"type"
:
"ShellKit"
,
"run-command"
:
[
"hilog -Q pidoff"
,
"mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files"
,
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry"
,
"power-shell wakeup"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"power-shell setmode 602"
...
...
@@ -35,20 +33,6 @@
"type"
:
"PushKit"
,
"pre-push"
:
[],
"push"
:
[
"./resource/audio/audioManager/Believer.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/Believer60s.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-8000-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-16000-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-32000-1SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-44100-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-64000-3SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-1C-96000-4SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-11025-1SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-12000-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-16000-3SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-22050-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-24000-3SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
,
"./resource/audio/audioManager/StarWars10s-2C-48000-4SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiocapturer/haps/entry/files/"
]
}
]
...
...
multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js
浏览文件 @
190d4ca3
...
...
@@ -1916,7 +1916,6 @@ describe('audioRenderer', function () {
console
.
info
(
"
AudioFrameworkRenderLog: on'audioInterrupt' SUCCESS
"
);
interrput_flag
=
true
;
}
expect
(
interrput_flag
).
assertTrue
();
});
let
a
=
await
audioRen
.
setInterruptMode
(
audio
.
InterruptMode
.
INDEPENDENT_MODE
);
...
...
@@ -1960,6 +1959,7 @@ describe('audioRenderer', function () {
await
sleep
(
2000
);
await
audioRen
.
release
();
await
audioRen_interrupt
.
release
();
expect
(
interrput_flag
).
assertFalse
();
}
catch
(
error
)
{
console
.
log
(
"
SUB_MULTIMEDIA_AUDIO_RENDERER_INTERUPT_AUDIO_0500 : error =
"
+
error
);
...
...
@@ -2014,7 +2014,6 @@ describe('audioRenderer', function () {
console
.
info
(
"
AudioFrameworkRenderLog: on'audioInterrupt' SUCCESS
"
);
interrput_flag
=
true
;
}
expect
(
interrput_flag
).
assertTrue
();
});
let
a
=
await
audioRen
.
setInterruptMode
(
audio
.
InterruptMode
.
INDEPENDENT_MODE
);
...
...
@@ -2058,6 +2057,7 @@ describe('audioRenderer', function () {
await
sleep
(
2000
);
await
audioRen
.
release
();
await
audioRen_interrupt
.
release
();
expect
(
interrput_flag
).
assertFalse
();
}
catch
(
error
)
{
console
.
log
(
"
SUB_MULTIMEDIA_AUDIO_RENDERER_INTERUPT_AUDIO_0600 : error =
"
+
error
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录