harmony 鸿蒙OH_AudioBuffer
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 module: AVScreenCapture
Header file: native_avscreen_capture_base.h
Summary
Member Variables
Name | Description |
---|---|
uint8_t * buf | Defines the pointer to an audio buffer. |
int32_t size | Defines the size of the audio buffer. |
int64_t timestamp | Defines the timestamp of the audio buffer. |
OH_AudioCaptureSourceType type | Defines 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 鸿蒙OH_AVRecorder_Config
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦