Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c5011ceb
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看板
提交
c5011ceb
编写于
8月 29, 2022
作者:
D
daiweiqi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bugs fixed
Signed-off-by:
N
daiweiqi
<
daiweiqi@huawei.com
>
上级
9cd09a84
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
52 addition
and
53 deletion
+52
-53
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCapturer.test.js
...ndard/audioManager/src/main/js/test/AudioCapturer.test.js
+52
-53
未找到文件。
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCapturer.test.js
浏览文件 @
c5011ceb
...
@@ -1905,14 +1905,14 @@ describe('audioCapturer', function () {
...
@@ -1905,14 +1905,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0100
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0100
*@tc.name : AudioCapturer-Set1-Media
*@tc.name : AudioCapturer-Set1-Media
*@tc.desc : AudioCapturer with parameter set 1
*@tc.desc : AudioCapturer with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0100
'
,
2
,
async
function
(
done
)
{
var
AudioStreamInfo
=
{
var
AudioStreamInfo
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -1941,15 +1941,14 @@ describe('audioCapturer', function () {
...
@@ -1941,15 +1941,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0100
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0100
*@tc.name : AudioCapturer-Set1-Media
*@tc.name : AudioCapturer-Set1-Media
*@tc.desc : AudioCapturer with parameter set 1
*@tc.desc : AudioCapturer with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_Promise_ENUM_0100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_PROMISE_ENUM_0100
'
,
2
,
async
function
(
done
)
{
var
AudioStreamInfo
=
{
var
AudioStreamInfo
=
{
samplingRate
:
44100
,
samplingRate
:
44100
,
channels
:
1
,
channels
:
1
,
...
@@ -1978,14 +1977,14 @@ describe('audioCapturer', function () {
...
@@ -1978,14 +1977,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0200
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0200
*@tc.name : AudioRec-Set1
*@tc.name : AudioRec-Set1
*@tc.desc : record audio with parameter set 1
*@tc.desc : record audio with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0200
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0200
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo44100
=
{
var
audioStreamInfo44100
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2012,14 +2011,14 @@ describe('audioCapturer', function () {
...
@@ -2012,14 +2011,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0200
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0200
*@tc.name : AudioRec-Set1
*@tc.name : AudioRec-Set1
*@tc.desc : record audio with parameter set 1
*@tc.desc : record audio with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0200
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0200
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo44100
=
{
var
audioStreamInfo44100
=
{
samplingRate
:
44100
,
samplingRate
:
44100
,
channels
:
1
,
channels
:
1
,
...
@@ -2047,14 +2046,14 @@ describe('audioCapturer', function () {
...
@@ -2047,14 +2046,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0300
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0300
*@tc.name : AudioRec-Set2
*@tc.name : AudioRec-Set2
*@tc.desc : record audio with parameter set 2
*@tc.desc : record audio with parameter set 2
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0300
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0300
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo96000
=
{
var
audioStreamInfo96000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_96000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_96000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2081,14 +2080,14 @@ describe('audioCapturer', function () {
...
@@ -2081,14 +2080,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0300
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0300
*@tc.name : AudioRec-Set2
*@tc.name : AudioRec-Set2
*@tc.desc : record audio with parameter set 2
*@tc.desc : record audio with parameter set 2
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0300
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0300
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo96000
=
{
var
audioStreamInfo96000
=
{
samplingRate
:
96000
,
samplingRate
:
96000
,
channels
:
1
,
channels
:
1
,
...
@@ -2115,14 +2114,14 @@ describe('audioCapturer', function () {
...
@@ -2115,14 +2114,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0400
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0400
*@tc.name : AudioRec-Set3
*@tc.name : AudioRec-Set3
*@tc.desc : record audio with parameter set 3
*@tc.desc : record audio with parameter set 3
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0400
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0400
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo48000
=
{
var
audioStreamInfo48000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_48000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_48000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -2149,14 +2148,14 @@ describe('audioCapturer', function () {
...
@@ -2149,14 +2148,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0400
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0400
*@tc.name : AudioRec-Set3
*@tc.name : AudioRec-Set3
*@tc.desc : record audio with parameter set 3
*@tc.desc : record audio with parameter set 3
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0400
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0400
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo48000
=
{
var
audioStreamInfo48000
=
{
samplingRate
:
48000
,
samplingRate
:
48000
,
channels
:
2
,
channels
:
2
,
...
@@ -2183,14 +2182,14 @@ describe('audioCapturer', function () {
...
@@ -2183,14 +2182,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0500
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0500
*@tc.name : AudioRec-Set4
*@tc.name : AudioRec-Set4
*@tc.desc : record audio with parameter set 4
*@tc.desc : record audio with parameter set 4
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0500
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0500
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo8000
=
{
var
audioStreamInfo8000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_8000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_8000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2217,14 +2216,14 @@ describe('audioCapturer', function () {
...
@@ -2217,14 +2216,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0500
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0500
*@tc.name : AudioRec-Set4
*@tc.name : AudioRec-Set4
*@tc.desc : record audio with parameter set 4
*@tc.desc : record audio with parameter set 4
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0500
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0500
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo8000
=
{
var
audioStreamInfo8000
=
{
samplingRate
:
8000
,
samplingRate
:
8000
,
channels
:
1
,
channels
:
1
,
...
@@ -2251,14 +2250,14 @@ describe('audioCapturer', function () {
...
@@ -2251,14 +2250,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0600
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0600
*@tc.name : AudioRec-Set5
*@tc.name : AudioRec-Set5
*@tc.desc : record audio with parameter set 5
*@tc.desc : record audio with parameter set 5
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0600
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0600
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo11025
=
{
var
audioStreamInfo11025
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_11025
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_11025
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -2285,14 +2284,14 @@ describe('audioCapturer', function () {
...
@@ -2285,14 +2284,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0600
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0600
*@tc.name : AudioRec-Set5
*@tc.name : AudioRec-Set5
*@tc.desc : record audio with parameter set 5
*@tc.desc : record audio with parameter set 5
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0600
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0600
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo11025
=
{
var
audioStreamInfo11025
=
{
samplingRate
:
11025
,
samplingRate
:
11025
,
channels
:
2
,
channels
:
2
,
...
@@ -2320,14 +2319,14 @@ describe('audioCapturer', function () {
...
@@ -2320,14 +2319,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0700
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0700
*@tc.name : AudioRec-Set6
*@tc.name : AudioRec-Set6
*@tc.desc : record audio with parameter set 6
*@tc.desc : record audio with parameter set 6
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0700
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0700
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo12000
=
{
var
audioStreamInfo12000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_12000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_12000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2354,14 +2353,14 @@ describe('audioCapturer', function () {
...
@@ -2354,14 +2353,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0700
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0700
*@tc.name : AudioRec-Set6
*@tc.name : AudioRec-Set6
*@tc.desc : record audio with parameter set 6
*@tc.desc : record audio with parameter set 6
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0700
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0700
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo12000
=
{
var
audioStreamInfo12000
=
{
samplingRate
:
12000
,
samplingRate
:
12000
,
channels
:
1
,
channels
:
1
,
...
@@ -2388,14 +2387,14 @@ describe('audioCapturer', function () {
...
@@ -2388,14 +2387,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0800
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0800
*@tc.name : AudioRec-Set7
*@tc.name : AudioRec-Set7
*@tc.desc : record audio with parameter set 7
*@tc.desc : record audio with parameter set 7
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0800
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0800
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo16000
=
{
var
audioStreamInfo16000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_16000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_16000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -2422,14 +2421,14 @@ describe('audioCapturer', function () {
...
@@ -2422,14 +2421,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0800
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0800
*@tc.name : AudioRec-Set7
*@tc.name : AudioRec-Set7
*@tc.desc : record audio with parameter set 7
*@tc.desc : record audio with parameter set 7
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0800
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0800
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo16000
=
{
var
audioStreamInfo16000
=
{
samplingRate
:
16000
,
samplingRate
:
16000
,
channels
:
2
,
channels
:
2
,
...
@@ -2456,14 +2455,14 @@ describe('audioCapturer', function () {
...
@@ -2456,14 +2455,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0900
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0900
*@tc.name : AudioRec-Set8
*@tc.name : AudioRec-Set8
*@tc.desc : record audio with parameter set 8
*@tc.desc : record audio with parameter set 8
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_0900
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_0900
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo22050
=
{
var
audioStreamInfo22050
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_22050
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_22050
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2490,14 +2489,14 @@ describe('audioCapturer', function () {
...
@@ -2490,14 +2489,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0900
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0900
*@tc.name : AudioRec-Set8
*@tc.name : AudioRec-Set8
*@tc.desc : record audio with parameter set 8
*@tc.desc : record audio with parameter set 8
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_0900
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_0900
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo22050
=
{
var
audioStreamInfo22050
=
{
samplingRate
:
22050
,
samplingRate
:
22050
,
channels
:
1
,
channels
:
1
,
...
@@ -2525,14 +2524,14 @@ describe('audioCapturer', function () {
...
@@ -2525,14 +2524,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1000
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1000
*@tc.name : AudioRec-Set9
*@tc.name : AudioRec-Set9
*@tc.desc : record audio with parameter set 9
*@tc.desc : record audio with parameter set 9
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1000
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1000
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo24000
=
{
var
audioStreamInfo24000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_24000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_24000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -2560,14 +2559,14 @@ describe('audioCapturer', function () {
...
@@ -2560,14 +2559,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1000
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1000
*@tc.name : AudioRec-Set9
*@tc.name : AudioRec-Set9
*@tc.desc : record audio with parameter set 9
*@tc.desc : record audio with parameter set 9
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1000
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1000
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo24000
=
{
var
audioStreamInfo24000
=
{
samplingRate
:
24000
,
samplingRate
:
24000
,
channels
:
2
,
channels
:
2
,
...
@@ -2595,14 +2594,14 @@ describe('audioCapturer', function () {
...
@@ -2595,14 +2594,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1100
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1100
*@tc.name : AudioRec-Set10
*@tc.name : AudioRec-Set10
*@tc.desc : record audio with parameter set 010
*@tc.desc : record audio with parameter set 010
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1100
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo32000
=
{
var
audioStreamInfo32000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_32000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_32000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2630,14 +2629,14 @@ describe('audioCapturer', function () {
...
@@ -2630,14 +2629,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1100
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1100
*@tc.name : AudioRec-Set10
*@tc.name : AudioRec-Set10
*@tc.desc : record audio with parameter set 010
*@tc.desc : record audio with parameter set 010
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1100
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo32000
=
{
var
audioStreamInfo32000
=
{
samplingRate
:
32000
,
samplingRate
:
32000
,
channels
:
1
,
channels
:
1
,
...
@@ -2665,14 +2664,14 @@ describe('audioCapturer', function () {
...
@@ -2665,14 +2664,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1200
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1200
*@tc.name : AudioRec-Set11
*@tc.name : AudioRec-Set11
*@tc.desc : record audio with parameter set 011
*@tc.desc : record audio with parameter set 011
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_1200
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_1200
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo64000
=
{
var
audioStreamInfo64000
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_64000
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_64000
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
channels
:
audio
.
AudioChannel
.
CHANNEL_2
,
...
@@ -2701,14 +2700,14 @@ describe('audioCapturer', function () {
...
@@ -2701,14 +2700,14 @@ describe('audioCapturer', function () {
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1200
*@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1200
*@tc.name : AudioRec-Set11
*@tc.name : AudioRec-Set11
*@tc.desc : record audio with parameter set 011
*@tc.desc : record audio with parameter set 011
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
romise
_ENUM_1200
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_P
ROMISE
_ENUM_1200
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo64000
=
{
var
audioStreamInfo64000
=
{
samplingRate
:
64000
,
samplingRate
:
64000
,
channels
:
2
,
channels
:
2
,
...
@@ -2736,14 +2735,14 @@ describe('audioCapturer', function () {
...
@@ -2736,14 +2735,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_RECORD_P
romise
_AUDIO_SCENE_DEFAULT_0100
*@tc.number : SUB_MULTIMEDIA_AUDIO_RECORD_P
ROMISE
_AUDIO_SCENE_DEFAULT_0100
*@tc.name : AudioRec-Set1
*@tc.name : AudioRec-Set1
*@tc.desc : record audio with parameter set 1
*@tc.desc : record audio with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_RECORD_P
romise
_AUDIO_SCENE_DEFAULT_0100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_RECORD_P
ROMISE
_AUDIO_SCENE_DEFAULT_0100
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo44100
=
{
var
audioStreamInfo44100
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
@@ -2769,14 +2768,14 @@ describe('audioCapturer', function () {
...
@@ -2769,14 +2768,14 @@ describe('audioCapturer', function () {
})
})
/**
/**
*@tc.number : SUB_MULTIMEDIA_AUDIO_RECORD_P
romise
_AUDIO_SCENE_DEFAULT_ENUM_0100
*@tc.number : SUB_MULTIMEDIA_AUDIO_RECORD_P
ROMISE
_AUDIO_SCENE_DEFAULT_ENUM_0100
*@tc.name : AudioRec-Set1
*@tc.name : AudioRec-Set1
*@tc.desc : record audio with parameter set 1
*@tc.desc : record audio with parameter set 1
*@tc.size : MEDIUM
*@tc.size : MEDIUM
*@tc.type : Function
*@tc.type : Function
*@tc.level : Level 2
*@tc.level : Level 2
*/
*/
it
(
'
SUB_MULTIMEDIA_AUDIO_RECORD_P
romise
_AUDIO_SCENE_DEFAULT_ENUM_0100
'
,
2
,
async
function
(
done
)
{
it
(
'
SUB_MULTIMEDIA_AUDIO_RECORD_P
ROMISE
_AUDIO_SCENE_DEFAULT_ENUM_0100
'
,
2
,
async
function
(
done
)
{
var
audioStreamInfo44100
=
{
var
audioStreamInfo44100
=
{
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
samplingRate
:
audio
.
AudioSamplingRate
.
SAMPLE_RATE_44100
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
channels
:
audio
.
AudioChannel
.
CHANNEL_1
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录