OHOS::Audio::AudioCapturerInfo

Overview

Related Modules:

MultiMedia_AudioCapturer

Description:

Defines information about audio capture parameters, including the input source, audio codec format,sampling rate (Hz), number of audio channels, bit rate, and bit width.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

inputSource = AUDIO_MIC

AudioSourceType 

audioFormat = AUDIO_DEFAULT

AudioCodecFormat 

sampleRate = 0

int32_t 

channelCount = 0

int32_t 

bitRate = 0

int32_t 

streamType = TYPE_MEDIA

AudioStreamType 

bitWidth = BIT_WIDTH_16

AudioBitWidth