OH_AudioCaptureInfo

Overview

The OH_AudioCaptureInfo struct defines audio capture information.

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since

10

Related Modules

AVScreenCapture

Summary

Member Variables

Name Description
audioSampleRate int32_t
Defines the audio sampling rate. For details about the supported rates, see OH_AudioCapturer_GetSamplingRate.
audioChannels int32_t
Defines the number of audio channels.
audioSource OH_AudioCaptureSourceType
Defines the audio source.

Member Variable Description

audioChannels

int32_t OH_AudioCaptureInfo::audioChannels

Description

Defines the number of audio channels.

audioSampleRate

int32_t OH_AudioCaptureInfo::audioSampleRate

Description

Defines the audio sampling rate. For details about the supported rates, see OH_AudioCapturer_GetSamplingRate.

audioSource

OH_AudioCaptureSourceType OH_AudioCaptureInfo::audioSource

Description

Defines the audio source.