• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AudioInfo
2
3
4## Overview
5
6The **OH_AudioInfo** struct defines audio capture parameters.
7
8**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture
9
10**Since**
11
1210
13
14**Related Modules**
15
16[AVScreenCapture](_a_v_screen_capture.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| [micCapInfo](#miccapinfo) | [OH_AudioCaptureInfo](_o_h___audio_capture_info.md)<br>Defines the audio parameters of the microphone.|
27| [innerCapInfo](#innercapinfo) | [OH_AudioCaptureInfo](_o_h___audio_capture_info.md)<br>Defines the audio parameters for internal capture.|
28| [audioEncInfo](#audioencinfo) | [OH_AudioEncInfo](_o_h___audio_enc_info.md)<br>Defines the audio encoding information. This member variable does not need to be set when **dataType** is set to **OH_ORIGINAL_STREAM**.<br>**NOTE**: This member variable is reserved and will be provided in later versions.|
29
30
31## Member Variable Description
32
33
34### audioEncInfo
35
36```
37OH_AudioEncInfo OH_AudioInfo::audioEncInfo
38```
39
40**Description**
41
42Defines the audio encoding information. This member variable does not need to be set when **dataType** is set to **OH_ORIGINAL_STREAM**.
43
44> **NOTE**
45>
46> This struct is reserved and will be provided in later versions.
47
48
49### innerCapInfo
50
51```
52OH_AudioCaptureInfo OH_AudioInfo::innerCapInfo
53```
54
55**Description**
56
57Defines the audio parameters for internal capture.
58
59
60### micCapInfo
61
62```
63OH_AudioCaptureInfo OH_AudioInfo::micCapInfo
64```
65
66**Description**
67
68Defines the audio parameters of the microphone.
69