\doxysection{gsm0503\+\_\+amr\+\_\+dtx.\+h}
\label{gsm0503__amr__dtx_8h_source}\index{include/osmocom/coding/gsm0503\_amr\_dtx.h@{include/osmocom/coding/gsm0503\_amr\_dtx.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{5 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{6 }
\DoxyCodeLine{7 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{8 }
\DoxyCodeLine{9 \textcolor{preprocessor}{\#include <osmocom/core/defs.h>}}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#include <osmocom/core/bits.h>}}
\DoxyCodeLine{11 }
\DoxyCodeLine{16 \textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames \{}
\DoxyCodeLine{17         AMR\_OTHER,}
\DoxyCodeLine{18         AFS\_SID\_FIRST,}
\DoxyCodeLine{19         AFS\_SID\_UPDATE,}
\DoxyCodeLine{20         AFS\_SID\_UPDATE\_CN,}
\DoxyCodeLine{21         AFS\_ONSET,}
\DoxyCodeLine{22         AHS\_SID\_UPDATE,}
\DoxyCodeLine{23         AHS\_SID\_UPDATE\_CN,}
\DoxyCodeLine{24         AHS\_SID\_FIRST\_P1,}
\DoxyCodeLine{25         AHS\_SID\_FIRST\_P2,}
\DoxyCodeLine{26         AHS\_ONSET,}
\DoxyCodeLine{27         AHS\_SID\_FIRST\_INH,}
\DoxyCodeLine{28         AHS\_SID\_UPDATE\_INH,}
\DoxyCodeLine{29 \};}
\DoxyCodeLine{30 }
\DoxyCodeLine{31 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }value\_string gsm0503\_amr\_dtx\_frame\_names[];}
\DoxyCodeLine{32 \textcolor{keyword}{static} \textcolor{keyword}{inline} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *gsm0503\_amr\_dtx\_frame\_name(\textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames frame)}
\DoxyCodeLine{33 \{}
\DoxyCodeLine{34         \textcolor{keywordflow}{return} get\_value\_string(gsm0503\_amr\_dtx\_frame\_names, frame);}
\DoxyCodeLine{35 \}}
\DoxyCodeLine{36 }
\DoxyCodeLine{37 \textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames gsm0503\_detect\_afs\_dtx\_frame(\textcolor{keywordtype}{int} *n\_errors, \textcolor{keywordtype}{int} *n\_bits\_total, \textcolor{keyword}{const} ubit\_t *ubits)}
\DoxyCodeLine{38         OSMO\_DEPRECATED(\textcolor{stringliteral}{"{}Use gsm0503\_detect\_afs\_dtx\_frame2() instead"{}});}
\DoxyCodeLine{39 \textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames gsm0503\_detect\_ahs\_dtx\_frame(\textcolor{keywordtype}{int} *n\_errors, \textcolor{keywordtype}{int} *n\_bits\_total, \textcolor{keyword}{const} ubit\_t *ubits)}
\DoxyCodeLine{40         OSMO\_DEPRECATED(\textcolor{stringliteral}{"{}Use gsm0503\_detect\_ahs\_dtx\_frame2() instead"{}});}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames gsm0503\_detect\_afs\_dtx\_frame2(\textcolor{keywordtype}{int} *n\_errors, \textcolor{keywordtype}{int} *n\_bits\_total,}
\DoxyCodeLine{43                                                           \textcolor{keywordtype}{int} *mode\_id, \textcolor{keyword}{const} sbit\_t *sbits);}
\DoxyCodeLine{44 \textcolor{keyword}{enum} gsm0503\_amr\_dtx\_frames gsm0503\_detect\_ahs\_dtx\_frame2(\textcolor{keywordtype}{int} *n\_errors, \textcolor{keywordtype}{int} *n\_bits\_total,}
\DoxyCodeLine{45                                                           \textcolor{keywordtype}{int} *mode\_id, \textcolor{keyword}{const} sbit\_t *sbits);}
\DoxyCodeLine{46 }

\end{DoxyCode}
