\hypertarget{a00629_source}{}\doxysection{AAX\+\_\+\+MIDIUtilities.\+h}
\label{a00629_source}\index{AAX\_MIDIUtilities.h@{AAX\_MIDIUtilities.h}}
\mbox{\hyperlink{a00629}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ Copyright\ 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{00019\ \textcolor{preprocessor}{\#ifndef\ AAX\_MIDIUtilities\_h}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ AAX\_MIDIUtilities\_h}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{comment}{//\ AAX\ Includes}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00935}{AAX}}}
\DoxyCodeLine{00027\ \{}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00029\ \ \ \ \ \textcolor{comment}{//\ Some\ MIDI\ defines}}
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00031\ \ \ \ \ }
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30}{EStatusNibble}}}
\DoxyCodeLine{00034\ \ \ \ \ \{}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30a879656d38da19be8e39951bb7037fdf6}{eStatusNibble\_NoteOff}}\ =\ 0x80}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ =\ 0x90}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ac58c4a1d24d65b2aa83dd8958ab5c79f}{eStatusNibble\_KeyPressure}}\ =\ 0xA0}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30aad9f788bf727d8a2e29ed267f0c63c54}{eStatusNibble\_ControlChange}}\ =\ 0xB0}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30acfa2f6c1f419ab8f84b18305cd182c05}{eStatusNibble\_ChannelMode}}\ =\ 0xB0}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30af1211ef53c1f40ee06aff0a624b42d2f}{eStatusNibble\_ProgramChange}}\ =\ 0xC0}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30a2f3c65a49b997078c50d7210a775f06c}{eStatusNibble\_ChannelPressure}}\ =\ 0xD0}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30a508ff1dbd19ad390f85611922fc81433}{eStatusNibble\_PitchBend}}\ =\ 0xE0}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30a046a282d622e11711878fcad5b713c8d}{eStatusNibble\_SystemCommon}}\ =\ 0xF0}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab036cdb470fde61d5a397be9a1b036a5}{eStatusNibble\_SystemRealTime}}\ =\ 0xF0}
\DoxyCodeLine{00045\ \ \ \ \ \};}
\DoxyCodeLine{00046\ \ \ \ \ }
\DoxyCodeLine{00048\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0}{EStatusByte}}}
\DoxyCodeLine{00049\ \ \ \ \ \{}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0afe46f6c375435e0cddbcb9efda89b9ca}{eStatusByte\_SysExBegin}}\ =\ 0xF0}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a05d918c77b03e9be5378d487d6ef56de}{eStatusByte\_MTCQuarterFrame}}\ =\ 0xF1}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0ae7680a77d66673ac2900d2dac14270a0}{eStatusByte\_SongPosition}}\ =\ 0xF2}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a50a0b1fcddf5b5e29ee71320edd520eb}{eStatusByte\_SongSelect}}\ =\ 0xF3}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a221fd3d2a1f7b77fea14a357f0f9fd7f}{eStatusByte\_TuneRequest}}\ =\ 0xF6}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0af9541f1f98702a20d7d9a7a25589b3a1}{eStatusByte\_SysExEnd}}\ =\ 0xF7}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0af301c0c5c67e4e67ff30ecff79713ddc}{eStatusByte\_TimingClock}}\ =\ 0xF8}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0afd1a3d5e51ff91a7ed408905daafb292}{eStatusByte\_Start}}\ =\ 0xFA}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a0c7a5ef4d50503e4b1c15f67fd4da75f}{eStatusByte\_Continue}}\ =\ 0xFB}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a5d405fc8e8ffd1a5fdf6179933d945e3}{eStatusByte\_Stop}}\ =\ 0xFC}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0a3efefd89a761be230e693dc4794611df}{eStatusByte\_ActiveSensing}}\ =\ 0xFE}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a007db6cfa461dbbb87e49e2ec52e18b0af4d1ba261ba284f8c08bc6d2a65c287c}{eStatusByte\_Reset}}\ =\ 0xFF}
\DoxyCodeLine{00062\ \ \ \ \ \};}
\DoxyCodeLine{00063\ \ \ \ \ }
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461}{EChannelModeData}}}
\DoxyCodeLine{00066\ \ \ \ \ \{}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ac068c1ac0762ad50b948d99f21ac09f5}{eChannelModeData\_AllSoundOff}}\ =\ 120}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461a540ae94290aa31508a9060e1b9676891}{eChannelModeData\_ResetControllers}}\ =\ 121}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461addf1f5adef10e202e8378fc15521f1ff}{eChannelModeData\_LocalControl}}\ =\ 122}
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461af57995480ec44ebcb6b936042a471979}{eChannelModeData\_AllNotesOff}}\ =\ 123}
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461a5e2dba641939d400e47d9320b0db306a}{eChannelModeData\_OmniOff}}\ =\ 124}
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461a3defca7d2a1dc6940bbc00a14eadd2d0}{eChannelModeData\_OmniOn}}\ =\ 125}
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ac2819c2b9eeec76609fa42609b2fd878}{eChannelModeData\_PolyOff}}\ =\ 126}
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ada14fa008d32a84173ed0f0e9d416a49}{eChannelModeData\_PolyOn}}\ =\ 127}
\DoxyCodeLine{00075\ \ \ \ \ \};}
\DoxyCodeLine{00076\ \ \ \ \ }
\DoxyCodeLine{00078\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00935_a6884ba464f3e76eb758d45daf1395199}{ESpecialData}}}
\DoxyCodeLine{00079\ \ \ \ \ \{}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00935_a6884ba464f3e76eb758d45daf1395199a52061b5587075953631c1389016cb0cf}{eSpecialData\_AccentedClick}}\ =\ 0x00\ }
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00935_a6884ba464f3e76eb758d45daf1395199a35a276fca410721fc1c39adb01be7af3}{eSpecialData\_UnaccentedClick}}\ =\ 0x01\ }
\DoxyCodeLine{00082\ \ \ \ \ \};}
\DoxyCodeLine{00083\ \ \ \ \ }
\DoxyCodeLine{00084\ \ \ \ \ }
\DoxyCodeLine{00085\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00086\ \ \ \ \ \textcolor{comment}{//\ Basic\ MIDI\ utility\ functions}}
\DoxyCodeLine{00087\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00088\ \ \ \ \ }
\DoxyCodeLine{00090\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_a1561efb3b1dbe3d13ef18f4b4d9dee40}{IsNoteOn}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00091\ \ \ \ \ \{}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ sn)\ \&\&}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ !=\ data2));}
\DoxyCodeLine{00097\ \ \ \ \ \}}
\DoxyCodeLine{00098\ \ \ \ \ }
\DoxyCodeLine{00100\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_a91041690c271a718ef9451f66a7f6bb2}{IsNoteOff}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00101\ \ \ \ \ \{}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00103\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00104\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00105\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30a879656d38da19be8e39951bb7037fdf6}{eStatusNibble\_NoteOff}}\ ==\ sn)\ ||\ ((\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ sn)\ \&\&\ (0x00\ ==\ data2)));}
\DoxyCodeLine{00106\ \ \ \ \ \}}
\DoxyCodeLine{00107\ \ \ \ \ }
\DoxyCodeLine{00109\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_a509974acde19fde832cd5fdeb5eaabe2}{IsAllNotesOff}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00110\ \ \ \ \ \{}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data1\ =\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[1];}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00115\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30acfa2f6c1f419ab8f84b18305cd182c05}{eStatusNibble\_ChannelMode}}\ ==\ sn)}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ac2819c2b9eeec76609fa42609b2fd878}{eChannelModeData\_PolyOff}}\ ==\ data1)}
\DoxyCodeLine{00118\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00119\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00120\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00121\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ ((\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ac068c1ac0762ad50b948d99f21ac09f5}{eChannelModeData\_AllSoundOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461af57995480ec44ebcb6b936042a471979}{eChannelModeData\_AllNotesOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461a5e2dba641939d400e47d9320b0db306a}{eChannelModeData\_OmniOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461a3defca7d2a1dc6940bbc00a14eadd2d0}{eChannelModeData\_OmniOn}}\ ==\ data1)\ ||}
\DoxyCodeLine{00125\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a51c6649733dc2e7ce2364c7b52ddf461ada14fa008d32a84173ed0f0e9d416a49}{eChannelModeData\_PolyOn}}\ ==\ data1))}
\DoxyCodeLine{00126\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ (0x00\ ==\ data2);}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00132\ \ \ \ \ \}}
\DoxyCodeLine{00133\ \ \ \ \ }
\DoxyCodeLine{00135\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_afd05400c946e625772428cad4be7d552}{IsAccentedClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00136\ \ \ \ \ \{}
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((inPacket)\ \&\&}
\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0))\ \&\&}
\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ ==\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0x0F))\ \&\&}
\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a6884ba464f3e76eb758d45daf1395199a52061b5587075953631c1389016cb0cf}{eSpecialData\_AccentedClick}}\ ==\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[1]));}
\DoxyCodeLine{00141\ \ \ \ \ \}}
\DoxyCodeLine{00142\ \ \ \ \ }
\DoxyCodeLine{00144\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_a4f915a56cb150638f036cb7ed33facd8}{IsUnaccentedClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00145\ \ \ \ \ \{}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((inPacket)\ \&\&}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0))\ \&\&}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ ==\ (inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0x0F))\ \&\&}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00935_a6884ba464f3e76eb758d45daf1395199a35a276fca410721fc1c39adb01be7af3}{eSpecialData\_UnaccentedClick}}\ ==\ inPacket-\/>\mbox{\hyperlink{a01777_aac7229afc36006bc673eb219b18d8220}{mData}}[1]));}
\DoxyCodeLine{00150\ \ \ \ \ \}}
\DoxyCodeLine{00151\ \ \ \ \ }
\DoxyCodeLine{00153\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00935_a8f9544e49b4473862e0c1382f6963ce7}{IsClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01777}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00154\ \ \ \ \ \{}
\DoxyCodeLine{00155\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ (\mbox{\hyperlink{a00935_afd05400c946e625772428cad4be7d552}{IsAccentedClick}}(inPacket)\ ||\ \mbox{\hyperlink{a00935_a4f915a56cb150638f036cb7ed33facd8}{IsUnaccentedClick}}(inPacket));}
\DoxyCodeLine{00156\ \ \ \ \ \}}
\DoxyCodeLine{00157\ \}\ \textcolor{comment}{//\ namespace\ AAX}}
\DoxyCodeLine{00158\ }
\DoxyCodeLine{00160\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ AAX\_MIDIUtilities\_h}}

\end{DoxyCode}
