1# Types.idl
2
3
4## 概述
5
6Audio模块接口定义中使用的数据类型。
7
8Audio模块接口定义中使用的数据类型,包括音频播放模式、采样属性、事件类型、数据类型、时间戳等
9
10模块包路径:ohos.hdi.distributed_audio.audioext.v1_0
11
12**起始版本:** 4.1
13
14**相关模块:**[Audio](_distributed.md)
15
16
17## 汇总
18
19
20### 类
21
22| 名称 | 描述 |
23| -------- | -------- |
24| struct  [AudioParameter](_audio_parameter.md) | 音频采样属性。 |
25| struct  [AudioData](_audio_data.md) | 音频数据类型。 |
26| struct  [DAudioEvent](_d_audio_event.md) | 音频事件类型。 |
27| struct  [CurrentTime](_current_time.md) | 音频时间戳。 |
28
29
30### 枚举
31
32| 名称 | 描述 |
33| -------- | -------- |
34| [PortOperationMode](_distributed.md#portoperationmode) { NORMAL_MODE = 0 , MMAP_MODE = 1 } | 音频端口播放模式。 |
35