UserAudioSpectrumInfo
远端用户的音频频谱信息。
C++
struct UserAudioSpectrumInfo {
agora::rtc::uid_t uid;
struct AudioSpectrumData spectrumData;
UserAudioSpectrumInfo () : uid(0), spectrumData() {}
UserAudioSpectrumInfo(agora::rtc::uid_t _uid, const float *data, int length) :
uid(_uid) { spectrumData.audioSpectrumData = data; spectrumData.dataLength = length; }
};
uid
远端用户 ID。
spectrumData
远端用户的音频频谱数据。详见 AudioSpectrumData。