\hypertarget{structagora_1_1media_1_1_audio_spectrum_data}{}\doxysection{agora\+::media\+::Audio\+Spectrum\+Data Struct Reference}
\label{structagora_1_1media_1_1_audio_spectrum_data}\index{agora::media::AudioSpectrumData@{agora::media::AudioSpectrumData}}


The audio spectrum data.  




{\ttfamily \#include $<$Agora\+Media\+Base.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structagora_1_1media_1_1_audio_spectrum_data_a04c36021f82866c777ad0c519f0f5e48}\label{structagora_1_1media_1_1_audio_spectrum_data_a04c36021f82866c777ad0c519f0f5e48}} 
{\bfseries Audio\+Spectrum\+Data} (const float $\ast$data, int length)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const float $\ast$ \mbox{\hyperlink{structagora_1_1media_1_1_audio_spectrum_data_a6f70cfb40e05f1be474537d2414dd5e6}{audio\+Spectrum\+Data}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1_audio_spectrum_data_a7907617ac76b97b762779a422f2cb9d7}{data\+Length}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The audio spectrum data. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1media_1_1_audio_spectrum_data_a6f70cfb40e05f1be474537d2414dd5e6}\label{structagora_1_1media_1_1_audio_spectrum_data_a6f70cfb40e05f1be474537d2414dd5e6}} 
\index{agora::media::AudioSpectrumData@{agora::media::AudioSpectrumData}!audioSpectrumData@{audioSpectrumData}}
\index{audioSpectrumData@{audioSpectrumData}!agora::media::AudioSpectrumData@{agora::media::AudioSpectrumData}}
\doxysubsubsection{\texorpdfstring{audioSpectrumData}{audioSpectrumData}}
{\footnotesize\ttfamily const float$\ast$ agora\+::media\+::\+Audio\+Spectrum\+Data\+::audio\+Spectrum\+Data}

The audio spectrum data. Agora divides the audio frequency into 256 frequency domains, and reports the energy value of each frequency domain through this parameter. The value range of each energy type is \mbox{[}-\/300, 1\mbox{]} and the unit is d\+B\+FS. \mbox{\Hypertarget{structagora_1_1media_1_1_audio_spectrum_data_a7907617ac76b97b762779a422f2cb9d7}\label{structagora_1_1media_1_1_audio_spectrum_data_a7907617ac76b97b762779a422f2cb9d7}} 
\index{agora::media::AudioSpectrumData@{agora::media::AudioSpectrumData}!dataLength@{dataLength}}
\index{dataLength@{dataLength}!agora::media::AudioSpectrumData@{agora::media::AudioSpectrumData}}
\doxysubsubsection{\texorpdfstring{dataLength}{dataLength}}
{\footnotesize\ttfamily int agora\+::media\+::\+Audio\+Spectrum\+Data\+::data\+Length}

The audio spectrum data length is 256. 