harmony 鸿蒙OH_AudioBuffer

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

OH_AudioBuffer

概述

定义了音频数据的大小、类型、时间戳等配置信息。

起始版本: 10

相关模块: AVScreenCapture

所在头文件: native_avscreen_capture_base.h

汇总

成员变量

|名称|描述| |–|–| |uint8_t* buf|音频buffer内存。| |int32_t size|音频buffer内存大小。| |int64_t timestamp|音频buffer时间戳。| |OH_AudioCaptureSourceType type|音频录制源类型。|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit(媒体服务)

harmony 鸿蒙Interface (AVImageGenerator)

harmony 鸿蒙Interface (AVMetadataExtractor)

harmony 鸿蒙Interface (AVPlayer)

harmony 鸿蒙Interface (AVRecorder)

harmony 鸿蒙Interface (AVScreenCaptureRecorder)

harmony 鸿蒙Interface (AVTranscoder)

harmony 鸿蒙废弃的Interface (AudioPlayer, deprecated)

harmony 鸿蒙废弃的Interface (AudioRecorder, deprecated)

harmony 鸿蒙Interface (MediaSource)

0  赞