Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
58d228c0
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
58d228c0
编写于
10月 24, 2022
作者:
J
janiervan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: audio spelling mistakes
Signed-off-by:
N
janiervan
<
fanjingya1@huawei.com
>
上级
e60f7304
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
zh-cn/device-dev/reference/hdi-apis/_audio.md
zh-cn/device-dev/reference/hdi-apis/_audio.md
+3
-3
zh-cn/device-dev/reference/hdi-apis/audio__types_8h.md
zh-cn/device-dev/reference/hdi-apis/audio__types_8h.md
+1
-1
未找到文件。
zh-cn/device-dev/reference/hdi-apis/_audio.md
浏览文件 @
58d228c0
...
...
@@ -85,7 +85,7 @@ Audio模块接口定义。
|
[
AudioSampleFormat
](
#audiosampleformat
)
{
AUDIO_SAMPLE_FORMAT_S8,
AUDIO_SAMPLE_FORMAT_S8P,
AUDIO_SAMPLE_FORMAT_U8,
AUDIO_SAMPLE_FORMAT_U8P,
AUDIO_SAMPLE_FORMAT_S16,
AUDIO_SAMPLE_FORMAT_S16P,
AUDIO_SAMPLE_FORMAT_U16,
AUDIO_SAMPLE_FORMAT_U16P,
AUDIO_SAMPLE_FORMAT_S24,
AUDIO_SAMPLE_FORMAT_S24P,
AUDIO_SAMPLE_FORMAT_U24,
AUDIO_SAMPLE_FORMAT_U24P,
AUDIO_SAMPLE_FORMAT_S32,
AUDIO_SAMPLE_FORMAT_S32P,
AUDIO_SAMPLE_FORMAT_U32,
AUDIO_SAMPLE_FORMAT_U32P,
AUDIO_SAMPLE_FORMAT_S64,
AUDIO_SAMPLE_FORMAT_S64P,
AUDIO_SAMPLE_FORMAT_U64,
AUDIO_SAMPLE_FORMAT_U64P,
AUDIO_SAMPLE_FORMAT_F32,
AUDIO_SAMPLE_FORMAT_F32P,
AUDIO_SAMPLE_FORMAT_F64,
AUDIO_SAMPLE_FORMAT_F64P
} | 原始音频样本格式 |
|
[
AudioChannelMode
](
#audiochannelmode
)
{
AUDIO_CHANNEL_NORMAL
=
0,
AUDIO_CHANNEL_BOTH_LEFT,
AUDIO_CHANNEL_BOTH_RIGHT,
AUDIO_CHANNEL_EXCHANGE,
AUDIO_CHANNEL_MIX,
AUDIO_CHANNEL_LEFT_MUTE,
AUDIO_CHANNEL_RIGHT_MUTE,
AUDIO_CHANNEL_BOTH_MUTE
} | 音频播放的通道模式 |
|
[
AudioDrainNotifyType
](
#audiodrainnotifytype
)
{
AUDIO_DRAIN_NORMAL_MODE,
AUDIO_DRAIN_EARLY_MODE
} | DrainBuffer函数结束类型 |
|
[
AudioCallbackType
](
#audiocallbacktype
)
{
AUDIO_NONBLOCK_WRITE_COMP
ELETED,
AUDIO_DRAIN_COMPE
LETED,
AUDIO_FLUSH_COMPLETED,
AUDIO_RENDER_FULL,
AUDIO_ERROR_OCCUR
} | 回调函数通知事件类型 |
|
[
AudioCallbackType
](
#audiocallbacktype
)
{
AUDIO_NONBLOCK_WRITE_COMP
LETED,
AUDIO_DRAIN_COMP
LETED,
AUDIO_FLUSH_COMPLETED,
AUDIO_RENDER_FULL,
AUDIO_ERROR_OCCUR
} | 回调函数通知事件类型 |
|
[
AudioPortRole
](
#audioportrole
)
{
AUDIO_PORT_UNASSIGNED_ROLE
=
0,
AUDIO_PORT_SOURCE_ROLE
=
1,
AUDIO_PORT_SINK_ROLE
=
2
} | 音频端口角色 |
|
[
AudioPortType
](
#audioporttype
)
{
AUDIO_PORT_UNASSIGNED_TYPE
=
0,
AUDIO_PORT_DEVICE_TYPE
=
1,
AUDIO_PORT_MIX_TYPE
=
2,
AUDIO_PORT_SESSION_TYPE
=
3
} | 音频端口类型. |
|
[
AudioSessionType
](
#audiosessiontype
)
{
AUDIO_OUTPUT_STAGE_SESSION
=
0,
AUDIO_OUTPUT_MIX_SESSION,
AUDIO_ALLOCATE_SESSION,
AUDIO_INVALID_SESSION
} | 端口会话类型 |
...
...
@@ -215,8 +215,8 @@ enum AudioCallbackType
| 枚举值 | 描述 |
| -------- | -------- |
| AUDIO_NONBLOCK_WRITE_COMP
E
LETED | 非阻塞式写完成 |
| AUDIO_DRAIN_COMP
E
LETED | DrainBuffer完成 |
| AUDIO_NONBLOCK_WRITE_COMPLETED | 非阻塞式写完成 |
| AUDIO_DRAIN_COMPLETED | DrainBuffer完成 |
| AUDIO_FLUSH_COMPLETED | Flush完成 |
| AUDIO_RENDER_FULL | Render缓冲区已满 |
| AUDIO_ERROR_OCCUR | 发生了错误 |
...
...
zh-cn/device-dev/reference/hdi-apis/audio__types_8h.md
浏览文件 @
58d228c0
...
...
@@ -64,7 +64,7 @@ Audio模块接口定义中使用的自定义数据类型,包括音频端口、
|
[
AudioSampleFormat
](
_audio.md#audiosampleformat
)
{
AUDIO_SAMPLE_FORMAT_S8,
AUDIO_SAMPLE_FORMAT_S8P,
AUDIO_SAMPLE_FORMAT_U8,
AUDIO_SAMPLE_FORMAT_U8P,
AUDIO_SAMPLE_FORMAT_S16,
AUDIO_SAMPLE_FORMAT_S16P,
AUDIO_SAMPLE_FORMAT_U16,
AUDIO_SAMPLE_FORMAT_U16P,
AUDIO_SAMPLE_FORMAT_S24,
AUDIO_SAMPLE_FORMAT_S24P,
AUDIO_SAMPLE_FORMAT_U24,
AUDIO_SAMPLE_FORMAT_U24P,
AUDIO_SAMPLE_FORMAT_S32,
AUDIO_SAMPLE_FORMAT_S32P,
AUDIO_SAMPLE_FORMAT_U32,
AUDIO_SAMPLE_FORMAT_U32P,
AUDIO_SAMPLE_FORMAT_S64,
AUDIO_SAMPLE_FORMAT_S64P,
AUDIO_SAMPLE_FORMAT_U64,
AUDIO_SAMPLE_FORMAT_U64P,
AUDIO_SAMPLE_FORMAT_F32,
AUDIO_SAMPLE_FORMAT_F32P,
AUDIO_SAMPLE_FORMAT_F64,
AUDIO_SAMPLE_FORMAT_F64P
} | 原始音频样本格式 |
|
[
AudioChannelMode
](
_audio.md#audiochannelmode
)
{
AUDIO_CHANNEL_NORMAL
=
0,
AUDIO_CHANNEL_BOTH_LEFT,
AUDIO_CHANNEL_BOTH_RIGHT,
AUDIO_CHANNEL_EXCHANGE,
AUDIO_CHANNEL_MIX,
AUDIO_CHANNEL_LEFT_MUTE,
AUDIO_CHANNEL_RIGHT_MUTE,
AUDIO_CHANNEL_BOTH_MUTE
} | 音频播放的通道模式 |
|
[
AudioDrainNotifyType
](
_audio.md#audiodrainnotifytype
)
{
AUDIO_DRAIN_NORMAL_MODE,
AUDIO_DRAIN_EARLY_MODE
} | DrainBuffer函数结束类型 |
|
[
AudioCallbackType
](
_audio.md#audiocallbacktype
)
{
AUDIO_NONBLOCK_WRITE_COMP
ELETED,
AUDIO_DRAIN_COMPE
LETED,
AUDIO_FLUSH_COMPLETED,
AUDIO_RENDER_FULL,
AUDIO_ERROR_OCCUR
} | 回调函数通知事件类型 |
|
[
AudioCallbackType
](
_audio.md#audiocallbacktype
)
{
AUDIO_NONBLOCK_WRITE_COMP
LETED,
AUDIO_DRAIN_COMP
LETED,
AUDIO_FLUSH_COMPLETED,
AUDIO_RENDER_FULL,
AUDIO_ERROR_OCCUR
} | 回调函数通知事件类型 |
|
[
AudioPortRole
](
_audio.md#audioportrole
)
{
AUDIO_PORT_UNASSIGNED_ROLE
=
0,
AUDIO_PORT_SOURCE_ROLE
=
1,
AUDIO_PORT_SINK_ROLE
=
2
} | 音频端口角色 |
|
[
AudioPortType
](
_audio.md#audioporttype
)
{
AUDIO_PORT_UNASSIGNED_TYPE
=
0,
AUDIO_PORT_DEVICE_TYPE
=
1,
AUDIO_PORT_MIX_TYPE
=
2,
AUDIO_PORT_SESSION_TYPE
=
3
} | 音频端口类型. |
|
[
AudioSessionType
](
_audio.md#audiosessiontype
)
{
AUDIO_OUTPUT_STAGE_SESSION
=
0,
AUDIO_OUTPUT_MIX_SESSION,
AUDIO_ALLOCATE_SESSION,
AUDIO_INVALID_SESSION
} | 端口会话类型 |
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录