openharmony 鸿蒙 capi-avscreencapture-oh-audiocaptureinfo

2026-08-25 浏览 (1)

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

NameDescription
int32_t audioSampleRateAudio sample rate. For details about the supported rates, see AudioSamplingRate of Audio Kit.
int32_t audioChannelsAudio channel count.
OH_AudioCaptureSourceType audioSourceAudio source.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range

openharmony 鸿蒙 errorcode-media

openharmony 鸿蒙 capi-avplayer

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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/THusZf0q