\doxysection{com.\+tritondigital.\+net.\+streaming.\+proxy.\+decoder.\+Audio\+Config Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig}{}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig}\index{com.tritondigital.net.streaming.proxy.decoder.AudioConfig@{com.tritondigital.net.streaming.proxy.decoder.AudioConfig}}


Stores all parameters needed to interpret the Audio Data, such as which type of media it is.  


\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1ChannelCount}{Channel\+Count}}
\begin{DoxyCompactList}\small\item\em The supported number of channels per stream. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1MediaType}{Media\+Type}}
\begin{DoxyCompactList}\small\item\em All supported media types. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1SamplingRate}{Sampling\+Rate}}
\begin{DoxyCompactList}\small\item\em The supported sampling rate. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a6ed3db03e4177e382e7697bb8048a0c9}{Audio\+Config}} (\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1MediaType}{Media\+Type}} media\+Type, \mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1SamplingRate}{Sampling\+Rate}} sampling\+Rate, \mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1ChannelCount}{Channel\+Count}} channel\+Count, byte\mbox{[}$\,$\mbox{]} additional\+Config)
\begin{DoxyCompactList}\small\item\em Constructs an Audio\+Config from all its parameters, which become read-\/only and cannot be changed without creating a new Audio\+Config. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_aa43a4939a41033ac1af57378ae01c9a1}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_aa43a4939a41033ac1af57378ae01c9a1} 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1MediaType}{Media\+Type}} {\bfseries get\+Media\+Type} ()
\begin{DoxyCompactList}\small\item\em Gets the type of media being streamed. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_aa083b1b54305dd33ca91e9b8b55440c4}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_aa083b1b54305dd33ca91e9b8b55440c4} 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1SamplingRate}{Sampling\+Rate}} {\bfseries get\+Sampling\+Rate} ()
\begin{DoxyCompactList}\small\item\em Gets the sample rate of the media being streamed. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a76c2c3aabdd3a47168e1881733031428}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a76c2c3aabdd3a47168e1881733031428} 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1ChannelCount}{Channel\+Count}} {\bfseries get\+Channel\+Count} ()
\begin{DoxyCompactList}\small\item\em Gets the number of channels of the media being streamed (mono / stereo). \end{DoxyCompactList}\item 
byte\mbox{[}$\,$\mbox{]} \mbox{\hyperlink{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a84193e757c9b9a8ba3f11cd633b98fca}{get\+Additional\+Config}} ()
\begin{DoxyCompactList}\small\item\em Gets the Additional configuration, that are specific to the media type (e.\+g. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Stores all parameters needed to interpret the Audio Data, such as which type of media it is. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a6ed3db03e4177e382e7697bb8048a0c9}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a6ed3db03e4177e382e7697bb8048a0c9} 
\index{com.tritondigital.net.streaming.proxy.decoder.AudioConfig@{com.tritondigital.net.streaming.proxy.decoder.AudioConfig}!AudioConfig@{AudioConfig}}
\index{AudioConfig@{AudioConfig}!com.tritondigital.net.streaming.proxy.decoder.AudioConfig@{com.tritondigital.net.streaming.proxy.decoder.AudioConfig}}
\doxysubsubsection{\texorpdfstring{AudioConfig()}{AudioConfig()}}
{\footnotesize\ttfamily com.\+tritondigital.\+net.\+streaming.\+proxy.\+decoder.\+Audio\+Config.\+Audio\+Config (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1MediaType}{Media\+Type}}}]{media\+Type,  }\item[{\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1SamplingRate}{Sampling\+Rate}}}]{sampling\+Rate,  }\item[{\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_1_1ChannelCount}{Channel\+Count}}}]{channel\+Count,  }\item[{byte\mbox{[}$\,$\mbox{]}}]{additional\+Config }\end{DoxyParamCaption})}



Constructs an Audio\+Config from all its parameters, which become read-\/only and cannot be changed without creating a new Audio\+Config. 

Changing the config after audio data was decoded is currently not supported, but it could eventually be, if there is a need for it. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a84193e757c9b9a8ba3f11cd633b98fca}\label{classcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1decoder_1_1AudioConfig_a84193e757c9b9a8ba3f11cd633b98fca} 
\index{com.tritondigital.net.streaming.proxy.decoder.AudioConfig@{com.tritondigital.net.streaming.proxy.decoder.AudioConfig}!getAdditionalConfig@{getAdditionalConfig}}
\index{getAdditionalConfig@{getAdditionalConfig}!com.tritondigital.net.streaming.proxy.decoder.AudioConfig@{com.tritondigital.net.streaming.proxy.decoder.AudioConfig}}
\doxysubsubsection{\texorpdfstring{getAdditionalConfig()}{getAdditionalConfig()}}
{\footnotesize\ttfamily byte\mbox{[}$\,$\mbox{]} com.\+tritondigital.\+net.\+streaming.\+proxy.\+decoder.\+Audio\+Config.\+get\+Additional\+Config (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Gets the Additional configuration, that are specific to the media type (e.\+g. 

2 bytes Audio\+Specific\+Config in AAC-\/lbr). 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
streamingproxy/src/main/java/com/tritondigital/net/streaming/proxy/decoder/Audio\+Config.\+java\end{DoxyCompactItemize}
