• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AudioCaptureInfo
2
3
4## Overview
5
6The **OH_AudioCaptureInfo** struct defines audio capture information.
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| [audioSampleRate](#audiosamplerate) | int32_t<br>Defines the audio sampling rate. For details about the supported rates, see **OH_AudioCapturer_GetSamplingRate**.|
27| [audioChannels](#audiochannels) | int32_t<br>Defines the number of audio channels.|
28| [audioSource](#audiosource) | [OH_AudioCaptureSourceType](_a_v_screen_capture.md#oh_audiocapturesourcetype)<br>Defines the audio source.|
29
30
31## Member Variable Description
32
33
34### audioChannels
35
36```
37int32_t OH_AudioCaptureInfo::audioChannels
38```
39
40**Description**
41
42Defines the number of audio channels.
43
44
45### audioSampleRate
46
47```
48int32_t OH_AudioCaptureInfo::audioSampleRate
49```
50
51**Description**
52
53Defines the audio sampling rate. For details about the supported rates, see **OH_AudioCapturer_GetSamplingRate**.
54
55
56### audioSource
57
58```
59OH_AudioCaptureSourceType OH_AudioCaptureInfo::audioSource
60```
61
62**Description**
63
64Defines the audio source.
65