openharmony 鸿蒙 capi-avscreencapture-oh-audioinfo

2026-08-25 浏览 (1)

OH_AudioInfo

typedef struct OH_AudioInfo {...} OH_AudioInfo

Overview

The struct describes the audio information.

To perform both external capture (using microphones) and internal capture, audioSampleRate and audioChannels must be the same for both audio channels.

Since: 10

Related module: AVScreenCapture

Header file: native_avscreen_capture_base.h

Summary

Member Variables

NameDescription
OH_AudioCaptureInfo micCapInfoExternal audio capture information.
OH_AudioCaptureInfo innerCapInfoInternal audio capture information.
OH_AudioEncInfo audioEncInfoAudio encoding information, which is not required for raw streams.

你可能感兴趣的鸿蒙文章

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/HqZFilHW