• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AudioInfo
2<!--Kit: Media Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @zzs_911-->
5<!--Designer: @stupig001-->
6<!--Tester: @xdlinc-->
7<!--Adviser: @zengyawen-->
8
9## Overview
10
11The struct describes the audio information.
12
13To perform both external capture (using microphones) and internal capture, **audioSampleRate** and **audioChannels** must be the same for both audio channels.
14
15**Since**: 10
16
17**Related module**: [AVScreenCapture](capi-avscreencapture.md)
18
19**Header file**: [native_avscreen_capture_base.h](capi-native-avscreen-capture-base-h.md)
20
21## Summary
22
23### Member Variables
24
25| Name| Description|
26| -- | -- |
27| [OH_AudioCaptureInfo](capi-avscreencapture-oh-audiocaptureinfo.md) micCapInfo | External audio capture information.|
28| [OH_AudioCaptureInfo](capi-avscreencapture-oh-audiocaptureinfo.md) innerCapInfo | Internal audio capture information.|
29| [OH_AudioEncInfo](capi-avscreencapture-oh-audioencinfo.md) audioEncInfo | Audio encoding information, which is not required for raw streams.|
30