• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AudioStreamInfo
2
3## Overview
4
5The struct describes the audio stream information, which is used to describe the basic audio format.
6
7**Since**: 19
8
9**Related module**: [OHAudio](capi-ohaudio.md)
10
11**Header file**: [native_audiostream_base.h](capi-native-audiostream-base-h.md)
12
13## Summary
14
15### Member Variables
16
17| Name| Description|
18| -- | -- |
19| int32_t samplingRate | Sampling rate.|
20| [OH_AudioChannelLayout](../apis-avcodec-kit/_core.md#oh_audiochannellayout-1) channelLayout | Audio channel layout.|
21| [OH_AudioStream_EncodingType](capi-native-audiostream-base-h.md#oh_audiostream_encodingtype) encodingType | Encoding type.|
22| [OH_AudioStream_SampleFormat](capi-native-audiostream-base-h.md#oh_audiostream_sampleformat) sampleFormat | Sampling format.|
23