Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
typedef struct OH_AudioBuffer {...} OH_AudioBuffer The 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
| 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. The unit is ns. |
| OH_AudioCaptureSourceType type | Type of the audio capture source. |