OH_AudioCaptureInfo
typedef struct OH_AudioCaptureInfo {...} OH_AudioCaptureInfo
Overview
The 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.
Since: 10
Related module: AVScreenCapture
Header file: native_avscreen_capture_base.h
Summary
Member Variables
| Name | Description |
|---|---|
| int32_t audioSampleRate | Audio sample rate. For details about the supported rates, see AudioSamplingRate of Audio Kit. |
| int32_t audioChannels | Audio channel count. |
| OH_AudioCaptureSourceType audioSource | Audio source. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range
openharmony 鸿蒙 errorcode-media
openharmony 鸿蒙 capi-avplayer-base-h
openharmony 鸿蒙 capi-avimage-generator-h
openharmony 鸿蒙 capi-avscreencapture-oh-rect
openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback
openharmony 鸿蒙 capi-avsinkbase
openharmony 鸿蒙 capi-avmetadataextractor
openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability