harmony 鸿蒙OH_AudioBuffer

2023-10-30 浏览 (544)

OH_AudioBuffer

Overview

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

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since

10

Related Modules

AVScreenCapture

Summary

Member Variables

NameDescription
bufDefines the pointer to an audio buffer.
sizeDefines the size of the audio buffer.
timestampDefines the timestamp of the audio buffer.
typeDefines the type of the audio capture source.

Member Variable Description

buf

uint8_t* OH_AudioBuffer::buf

Description

Defines the pointer to an audio buffer.

size

int32_t OH_AudioBuffer::size

Description

Defines the size of the audio buffer.

timestamp

int64_t OH_AudioBuffer::timestamp

Description

Defines the timestamp of the audio buffer.

type

OH_AudioCaptureSourceType OH_AudioBuffer::type

Description

Defines the type of the audio capture source.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

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