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
| 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. |