harmony 鸿蒙OH_AudioBuffer

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

OH_AudioBuffer

Overview

The OH_AudioBuffer struct describes the configuration such as the size, type, and timestamp of audio data.

Since: 10

Related module: AVScreenCapture

Header file: native_avscreen_capture_base.h

Summary

Member Variables

|Name|Description| |–|–| |uint8_t* buf|Pointer to an audio buffer.| |int32_t size|Size of the audio buffer.| |int64_t timestamp|Timestamp of the audio buffer.| |OH_AudioCaptureSourceType type|Type of the audio capture 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

0  赞