harmony 鸿蒙OH_AudioInfo

  • 2025-06-12
  • 浏览 (3)

OH_AudioInfo

Overview

The OH_AudioInfo 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

|Name|Description| |–|–| |OH_AudioCaptureInfo micCapInfo|External audio capture information.| |OH_AudioCaptureInfo innerCapInfo|Internal audio capture information.| |OH_AudioEncInfo audioEncInfo|Audio encoding information, which is not required for raw streams.|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit

harmony 鸿蒙AVImageGenerator

harmony 鸿蒙AVMetadataExtractor

harmony 鸿蒙AVPlayer

harmony 鸿蒙AVPlayerCallback

harmony 鸿蒙AVRecorder

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙OH_AVRecorder_Config

harmony 鸿蒙OH_AVRecorder_EncoderInfo

harmony 鸿蒙OH_AVRecorder_Location

0  赞