Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::media::UserAudioSpectrumInfo Struct Reference

`#include <AgoraMediaBase.h>`

## Public Member Functions
| UserAudioSpectrumInfo ()
| UserAudioSpectrumInfo (agora::rtc::uid_t uid, const float *data, int length)

## Public Attributes
agora::rtc::uid_t | uid
struct AudioSpectrumData | spectrumData

## Constructor & Destructor Documentation

## ◆ UserAudioSpectrumInfo() [1/2]

agora::media::UserAudioSpectrumInfo::UserAudioSpectrumInfo | ( |  | ) |
| inline

## ◆ UserAudioSpectrumInfo() [2/2]

agora::media::UserAudioSpectrumInfo::UserAudioSpectrumInfo | ( | agora::rtc::uid_t | uid,
|  | const float * | data,
|  | int | length )
| inline

## Member Data Documentation

## ◆ uid

agora::rtc::uid_t agora::media::UserAudioSpectrumInfo::uid

User ID of the speaker.

## ◆ spectrumData

struct AudioSpectrumData agora::media::UserAudioSpectrumInfo::spectrumData

The audio spectrum data of audio.