harmony 鸿蒙OH_AudioCaptureInfo
OH_AudioCaptureInfo
Overview
The OH_AudioCaptureInfo struct describes the audio capture information.
When both audioSampleRate and audioChannels are 0, the audio-related parameters are ignored and the audio data is not recorded.
System capability: SystemCapability.Multimedia.Media.AVScreenCapture
Since: 10
Related module: AVScreenCapture
Header file: native_avscreen_capture_base.h
Summary
Member Variables
Name | Description |
---|---|
int32_t audioSampleRate | Audio sampling rate. |
int32_t audioChannels | Number of audio channels. |
OH_AudioCaptureSourceType audioSource | Audio source. |
Member Variable Description
audioChannels
int32_t OH_AudioCaptureInfo::audioChannels
Description Number of audio channels.
audioSampleRate
int32_t OH_AudioCaptureInfo::audioSampleRate
Description Audio sampling rate. For details about the supported rates, see AudioSamplingRate of Audio Kit.
audioSource
OH_AudioCaptureSourceType OH_AudioCaptureInfo::audioSource
Description Audio source.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OH_AVRecorder_Config
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦