1# OH_AudioBuffer 2 3 4## Overview 5 6The **OH_AudioBuffer** struct defines the configuration such as the size, type, and timestamp of audio data. 7 8**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture 9 10**Since**: 10 11 12**Related module**: [AVScreenCapture](_a_v_screen_capture.md) 13 14**Header file**: [native_avscreen_capture_base.h](native__avscreen__capture__base_8h.md) 15 16 17## Summary 18 19 20### Member Variables 21 22| Name| Description| 23| -------- | -------- | 24| uint8_t \* [buf](#buf) | Defines the pointer to an audio buffer. | 25| int32_t [size](#size) | Defines the size of the audio buffer. | 26| int64_t [timestamp](#timestamp) | Defines the timestamp of the audio buffer. | 27| [OH_AudioCaptureSourceType](_a_v_screen_capture.md#oh_audiocapturesourcetype) [type](#type) | Defines the type of the audio capture source. | 28 29 30## Member Variable Description 31 32 33### buf 34 35``` 36uint8_t* OH_AudioBuffer::buf 37``` 38**Description** 39Defines the pointer to an audio buffer. 40 41 42### size 43 44``` 45int32_t OH_AudioBuffer::size 46``` 47**Description** 48Defines the size of the audio buffer. 49 50 51### timestamp 52 53``` 54int64_t OH_AudioBuffer::timestamp 55``` 56**Description** 57Defines the timestamp of the audio buffer. 58 59 60### type 61 62``` 63OH_AudioCaptureSourceType OH_AudioBuffer::type 64``` 65**Description** 66Defines the type of the audio capture source. 67