• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AudioBuffer
2<!--Kit: Media Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @zzs_911-->
5<!--Designer: @stupig001-->
6<!--Tester: @xdlinc-->
7<!--Adviser: @zengyawen-->
8
9## Overview
10
11The struct describes the configuration such as the size, type, and timestamp of audio data.
12
13**Since**: 10
14
15**Related module**: [AVScreenCapture](capi-avscreencapture.md)
16
17**Header file**: [native_avscreen_capture_base.h](capi-native-avscreen-capture-base-h.md)
18
19## Summary
20
21### Member Variables
22
23| Name| Description|
24| -- | -- |
25| uint8_t* buf | Pointer to an audio buffer.|
26| int32_t size | Size of the audio buffer.|
27| int64_t timestamp | Timestamp of the audio buffer.|
28| [OH_AudioCaptureSourceType](capi-native-avscreen-capture-base-h.md#oh_audiocapturesourcetype) type | Type of the audio capture source.|
29