\doxysection{gsm0808\+\_\+speech\+\_\+codec Struct Reference}
\label{structgsm0808__speech__codec}\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}


3GPP TS 48.\+008 3.\+2.\+2.\+104 Speech Codec.  




{\ttfamily \#include $<$gsm\+\_\+08\+\_\+08.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
bool \textbf{ fi}
\begin{DoxyCompactList}\small\item\em Full IP\+: Ao\+IP with compressed speech via RTP/\+UDP/\+IP. \end{DoxyCompactList}\item 
bool \textbf{ pi}
\begin{DoxyCompactList}\small\item\em PCMo\+IP\+: PCM over A-\/\+Interface via RTP/\+UPD/\+IP. \end{DoxyCompactList}\item 
bool \textbf{ pt}
\begin{DoxyCompactList}\small\item\em PCMo\+TDM\+: PCM over A-\/\+Interface with TDM as transport. \end{DoxyCompactList}\item 
bool \textbf{ tf}
\begin{DoxyCompactList}\small\item\em TFO (Inband Tandem Free Operation). \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ type}
\begin{DoxyCompactList}\small\item\em See enum gsm0808\+\_\+speech\+\_\+codec\+\_\+type. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ cfg}
\begin{DoxyCompactList}\small\item\em For examples, see enum gsm0808\+\_\+speech\+\_\+codec\+\_\+defaults. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
3GPP TS 48.\+008 3.\+2.\+2.\+104 Speech Codec. 

Valid if (fi $\vert$$\vert$ pi $\vert$$\vert$ pt) == true, otherwise ignore. 

\doxysubsection{Field Documentation}
\mbox{\label{structgsm0808__speech__codec_a41d4dc737fbb882e9d3a86dbf68899f2}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!cfg@{cfg}}
\index{cfg@{cfg}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{cfg}
{\footnotesize\ttfamily uint16\+\_\+t gsm0808\+\_\+speech\+\_\+codec\+::cfg}



For examples, see enum gsm0808\+\_\+speech\+\_\+codec\+\_\+defaults. 



Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+speech\+\_\+codec\+\_\+from\+\_\+chan\+\_\+type()}.

\mbox{\label{structgsm0808__speech__codec_a24bdc4277e8fb3a138940b71b3f862e6}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!fi@{fi}}
\index{fi@{fi}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{fi}
{\footnotesize\ttfamily bool gsm0808\+\_\+speech\+\_\+codec\+::fi}



Full IP\+: Ao\+IP with compressed speech via RTP/\+UDP/\+IP. 



Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+speech\+\_\+codec\+\_\+from\+\_\+chan\+\_\+type()}.

\mbox{\label{structgsm0808__speech__codec_a58cb8d6d0c1e4fb159b7ddbfa8439c16}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!pi@{pi}}
\index{pi@{pi}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{pi}
{\footnotesize\ttfamily bool gsm0808\+\_\+speech\+\_\+codec\+::pi}



PCMo\+IP\+: PCM over A-\/\+Interface via RTP/\+UPD/\+IP. 



Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}.

\mbox{\label{structgsm0808__speech__codec_ae8189ffbc1e6578d0a817b271b2e9022}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!pt@{pt}}
\index{pt@{pt}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{pt}
{\footnotesize\ttfamily bool gsm0808\+\_\+speech\+\_\+codec\+::pt}



PCMo\+TDM\+: PCM over A-\/\+Interface with TDM as transport. 



Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}.

\mbox{\label{structgsm0808__speech__codec_ae557cc8a9b76e6dac1b61c044d82ac2c}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!tf@{tf}}
\index{tf@{tf}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{tf}
{\footnotesize\ttfamily bool gsm0808\+\_\+speech\+\_\+codec\+::tf}



TFO (Inband Tandem Free Operation). 

Only valid if (pi $\vert$$\vert$ pt) == true. 

Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}.

\mbox{\label{structgsm0808__speech__codec_a824dd9fdd650d14c9bc2805510a2d72b}} 
\index{gsm0808\_speech\_codec@{gsm0808\_speech\_codec}!type@{type}}
\index{type@{type}!gsm0808\_speech\_codec@{gsm0808\_speech\_codec}}
\doxysubsubsection{type}
{\footnotesize\ttfamily uint8\+\_\+t gsm0808\+\_\+speech\+\_\+codec\+::type}



See enum gsm0808\+\_\+speech\+\_\+codec\+\_\+type. 



Referenced by \textbf{ enc\+\_\+speech\+\_\+codec()}, \textbf{ gsm0808\+\_\+dec\+\_\+speech\+\_\+codec()}, and \textbf{ gsm0808\+\_\+speech\+\_\+codec\+\_\+from\+\_\+chan\+\_\+type()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/gsm/protocol/\textbf{ gsm\+\_\+08\+\_\+08.\+h}\end{DoxyCompactItemize}
