\hypertarget{a00830_source}{}\doxysection{AAX\+\_\+\+Constants.\+h}
\label{a00830_source}\index{AAX\_Constants.h@{AAX\_Constants.h}}
\mbox{\hyperlink{a00830}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ Copyright\ 2009-\/2015,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00017\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#ifndef\ AAX\_CONSTANTS\_H}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ AAX\_CONSTANTS\_H}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{comment}{/*\ the\ following\ lines\ were\ re-\/introduced\ on\ 6/11/09\ because}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ \ \ \ the\ FFmt\ project\ still\ uses\ SInt32\ types\ \ \ \ */}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#ifdef\ \_TMS320C6X}}
\DoxyCodeLine{00027\ \ \ \ \ \textcolor{keyword}{typedef}\ \ \ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{int}\ \ SInt32;}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00029\ \textcolor{comment}{//\ \ \#include\ "{}DigiPublicTypes.h"{}}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00031\ \textcolor{comment}{/*\ end\ 6/11/09\ changes\ */}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \textcolor{comment}{//\ Standard\ headers}}
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#include\ <cmath>}}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00935}{AAX}}}
\DoxyCodeLine{00038\ \{}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#if\ \_\_BIG\_ENDIAN\_\_}}
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00935_af4c24d9d2042fe4252db5431ef126d00}{cBigEndian}}=1;}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00935_af7fcadf3ad159bf29bbe5a1c494827f2}{cLittleEndian}}=0;}
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00935_af4c24d9d2042fe4252db5431ef126d00}{cBigEndian}}=0;}
\DoxyCodeLine{00045\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00935_af7fcadf3ad159bf29bbe5a1c494827f2}{cLittleEndian}}=1;}
\DoxyCodeLine{00046\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a8e084631426285b3771b32dd9bb0d1a0}{cPi}}\ \ \ \ \ \ \ \ \ =\ 3.1415926535897932384626433832795;}
\DoxyCodeLine{00049\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a13d2c593bc19660c60caf48961f16361}{cTwoPi}}\ \ \ \ \ \ \ \ \ \ \ =\ 6.2831853071795862319959269370884;\ \ \textcolor{comment}{//2.0*3.1415926535897932384626433832795;}}
\DoxyCodeLine{00050\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a5496b80979f89206ab4966721ef09e07}{cHalfPi}}\ \ \ \ \ =\ 1.5707963267948965579989817342721;\ \ \textcolor{comment}{//0.5*3.1415926535897932384626433832795;}}
\DoxyCodeLine{00051\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_ad4d53f57051266ed14dc1632e95cb04e}{cQuarterPi}}\ \ \ \ \ \ \ =\ 0.78539816339744827899949086713605;\ \textcolor{comment}{//0.25*3.1415926535897932384626433832795;}}
\DoxyCodeLine{00052\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_af5ff0caa18f36334fd5c52e97f4a0cad}{cRootTwo}}\ \ \ \ \ \ \ =\ 1.4142135623730950488016887242097;}
\DoxyCodeLine{00053\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a0ae4975165aaf788ed120dbdd82a3cd7}{cOneOverRootTwo}}=\ 0.70710678118654752440084436210485;}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ }
\DoxyCodeLine{00056\ \textcolor{comment}{//Obviously\ these\ numbers\ are\ are\ not\ exact.}}
\DoxyCodeLine{00057\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_ad25c51177cb216caae3b4747b028d8ba}{cPos3dB}}=1.4142135623730950488016887242097;}
\DoxyCodeLine{00058\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_af6f212fd5bb0df08db615fffe4445a3d}{cNeg3dB}}=0.70710678118654752440084436210485;}
\DoxyCodeLine{00059\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_aade00875e4e88b00d991197f574c42ed}{cPos6dB}}=2.0;}
\DoxyCodeLine{00060\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_aca5925abc898233b406504d92ee9ef4c}{cNeg6dB}}=0.5;}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a93ce2d3935dc06b1c4c887568df84788}{cNormalizeLongToAmplitudeOneHalf}}\ \ \ =\ 0.00000000023283064365386962890625;\ \textcolor{comment}{//1.0/double(1LL<<32LL);}}
\DoxyCodeLine{00063\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_ad30333177ff94148492a02325045a827}{cNormalizeLongToAmplitudeOne}}\ \ \ \ \ \ \ =\ 1.0/double(1<<31);\ \textcolor{comment}{//-\/0.0000000004656612873077392578125;\ \ }}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a1b66f305f76b3f27b75c275c805c3d9b}{cMilli}}=0.001;}
\DoxyCodeLine{00066\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a661c2b5af007244eb8ffcefdae2608d0}{cMicro}}=0.001*0.001;}
\DoxyCodeLine{00067\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a3227cf335c40f4afcc72efd8f774ac92}{cNano}}=0.001*0.001*0.001;}
\DoxyCodeLine{00068\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_a480023c4a430fed889626b81c66d7589}{cPico}}=0.001*0.001*0.001*0.001;}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_aa151b1429ed5eabb4000d1b13e47a5c2}{cKilo}}=1000.0;}
\DoxyCodeLine{00071\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_ad20650c749492b31ef48b41ac84f57e9}{cMega}}=1000.0*1000.0;}
\DoxyCodeLine{00072\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a00935_ae5910a5df81de70f784c2fd073f70422}{cGiga}}=1000.0*1000.0*1000.0;}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00074\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2d}{ESampleRates}}}
\DoxyCodeLine{00075\ \{}
\DoxyCodeLine{00076\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2da0fabb364c77d1597745ea7faede310a9}{e44100SampleRate}}\ =\ 44100,}
\DoxyCodeLine{00077\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2dabf618a3399a754a6ec3a367c102f8850}{e48000SampleRate}}\ =\ 48000,}
\DoxyCodeLine{00078\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2da6b2f92d94b3c151993d544d924321620}{e88200SampleRate}}\ =\ 88200,}
\DoxyCodeLine{00079\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2da1161e560e2b301b8b45d17083696915e}{e96000SampleRate}}\ =\ 96000,}
\DoxyCodeLine{00080\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2da17be0028e4f2ca09f095573240cef263}{e176400SampleRate}}\ =\ 176400,}
\DoxyCodeLine{00081\ \ \ \ \ \mbox{\hyperlink{a00935_a60daf5874c02a01d2af8c582c0643e2da755a96e92d23adf2ad3546551e2ad49c}{e192000SampleRate}}\ =\ 192000}
\DoxyCodeLine{00082\ \};}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ \}\ \textcolor{comment}{//\ namespace\ AAX}}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ AAX\_CONSTANTS\_H}}
\DoxyCodeLine{00087\ }

\end{DoxyCode}
