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
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| uint8_t \* [buf](#buf) | Defines the pointer to an audio buffer. |
23| int32_t [size](#size) | Defines the size of the audio buffer. |
24| int64_t [timestamp](#timestamp) | Defines the timestamp of the audio buffer. |
25| [OH_AudioCaptureSourceType](_a_v_screen_capture.md#oh_audiocapturesourcetype) [type](#type) | Defines the type of the audio capture source. |
26
27
28## Member Variable Description
29
30
31### buf
32
33```
34uint8_t* OH_AudioBuffer::buf
35```
36**Description**
37Defines the pointer to an audio buffer.
38
39
40### size
41
42```
43int32_t OH_AudioBuffer::size
44```
45**Description**
46Defines the size of the audio buffer.
47
48
49### timestamp
50
51```
52int64_t OH_AudioBuffer::timestamp
53```
54**Description**
55Defines the timestamp of the audio buffer.
56
57
58### type
59
60```
61OH_AudioCaptureSourceType OH_AudioBuffer::type
62```
63**Description**
64Defines the type of the audio capture source.
65