harmony 鸿蒙OH_AudioCaptureInfo

2025-06-12 浏览 (1)

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.

Since: 10

Related module: AVScreenCapture

Header file: native_avscreen_capture_base.h

Summary

Member Variables

NameDescription
int32_t audioSampleRateAudio sampling rate. For details about the supported rates, see AudioSamplingRate of Audio Kit.
int32_t audioChannelsNumber of audio channels.
OH_AudioCaptureSourceType audioSourceAudio source.

你可能感兴趣的鸿蒙文章

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

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