Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::media::AudioSpectrumData Struct Reference

## Public Member Functions
| AudioSpectrumData ()
| AudioSpectrumData (const float *data, int length)

## Public Attributes
const float * | audioSpectrumData
int | dataLength

## Constructor & Destructor Documentation

## ◆ AudioSpectrumData() [1/2]

agora::media::AudioSpectrumData::AudioSpectrumData | ( |  | ) |
| inline

## ◆ AudioSpectrumData() [2/2]

agora::media::AudioSpectrumData::AudioSpectrumData | ( | const float * | data,
|  | int | length
| ) |  |
| inline

## Member Data Documentation

## ◆ audioSpectrumData

const float* agora::media::AudioSpectrumData::audioSpectrumData

The audio spectrum data of audio.

## ◆ dataLength

int agora::media::AudioSpectrumData::dataLength

The data length of audio spectrum data.