\hypertarget{a00638_source}{}\doxysection{AAX\+\_\+\+MIDIUtilities.\+h}
\label{a00638_source}\index{AAX\_MIDIUtilities.h@{AAX\_MIDIUtilities.h}}
\mbox{\hyperlink{a00638}{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-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ \ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ \ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ \ www.gnu.org/licenses).}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ \ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ \ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ \ DISCLAIMED.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00030\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#ifndef\ AAX\_MIDIUtilities\_h}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#define\ AAX\_MIDIUtilities\_h}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{comment}{//\ AAX\ Includes}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00542}{AAX.h}}"{}}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00948}{AAX}}}
\DoxyCodeLine{00040\ \{}
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{comment}{//\ Some\ MIDI\ defines}}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00044\ \ \ \ \ }
\DoxyCodeLine{00046\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30}{EStatusNibble}}}
\DoxyCodeLine{00047\ \ \ \ \ \{}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30a879656d38da19be8e39951bb7037fdf6}{eStatusNibble\_NoteOff}}\ =\ 0x80}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ =\ 0x90}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ac58c4a1d24d65b2aa83dd8958ab5c79f}{eStatusNibble\_KeyPressure}}\ =\ 0xA0}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30aad9f788bf727d8a2e29ed267f0c63c54}{eStatusNibble\_ControlChange}}\ =\ 0xB0}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30acfa2f6c1f419ab8f84b18305cd182c05}{eStatusNibble\_ChannelMode}}\ =\ 0xB0}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30af1211ef53c1f40ee06aff0a624b42d2f}{eStatusNibble\_ProgramChange}}\ =\ 0xC0}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30a2f3c65a49b997078c50d7210a775f06c}{eStatusNibble\_ChannelPressure}}\ =\ 0xD0}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30a508ff1dbd19ad390f85611922fc81433}{eStatusNibble\_PitchBend}}\ =\ 0xE0}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30a046a282d622e11711878fcad5b713c8d}{eStatusNibble\_SystemCommon}}\ =\ 0xF0}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab036cdb470fde61d5a397be9a1b036a5}{eStatusNibble\_SystemRealTime}}\ =\ 0xF0}
\DoxyCodeLine{00058\ \ \ \ \ \};}
\DoxyCodeLine{00059\ \ \ \ \ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0}{EStatusByte}}}
\DoxyCodeLine{00062\ \ \ \ \ \{}
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0afe46f6c375435e0cddbcb9efda89b9ca}{eStatusByte\_SysExBegin}}\ =\ 0xF0}
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a05d918c77b03e9be5378d487d6ef56de}{eStatusByte\_MTCQuarterFrame}}\ =\ 0xF1}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0ae7680a77d66673ac2900d2dac14270a0}{eStatusByte\_SongPosition}}\ =\ 0xF2}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a50a0b1fcddf5b5e29ee71320edd520eb}{eStatusByte\_SongSelect}}\ =\ 0xF3}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a221fd3d2a1f7b77fea14a357f0f9fd7f}{eStatusByte\_TuneRequest}}\ =\ 0xF6}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0af9541f1f98702a20d7d9a7a25589b3a1}{eStatusByte\_SysExEnd}}\ =\ 0xF7}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0af301c0c5c67e4e67ff30ecff79713ddc}{eStatusByte\_TimingClock}}\ =\ 0xF8}
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0afd1a3d5e51ff91a7ed408905daafb292}{eStatusByte\_Start}}\ =\ 0xFA}
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a0c7a5ef4d50503e4b1c15f67fd4da75f}{eStatusByte\_Continue}}\ =\ 0xFB}
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a5d405fc8e8ffd1a5fdf6179933d945e3}{eStatusByte\_Stop}}\ =\ 0xFC}
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0a3efefd89a761be230e693dc4794611df}{eStatusByte\_ActiveSensing}}\ =\ 0xFE}
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a007db6cfa461dbbb87e49e2ec52e18b0af4d1ba261ba284f8c08bc6d2a65c287c}{eStatusByte\_Reset}}\ =\ 0xFF}
\DoxyCodeLine{00075\ \ \ \ \ \};}
\DoxyCodeLine{00076\ \ \ \ \ }
\DoxyCodeLine{00078\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461}{EChannelModeData}}}
\DoxyCodeLine{00079\ \ \ \ \ \{}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ac068c1ac0762ad50b948d99f21ac09f5}{eChannelModeData\_AllSoundOff}}\ =\ 120}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461a540ae94290aa31508a9060e1b9676891}{eChannelModeData\_ResetControllers}}\ =\ 121}
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461addf1f5adef10e202e8378fc15521f1ff}{eChannelModeData\_LocalControl}}\ =\ 122}
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461af57995480ec44ebcb6b936042a471979}{eChannelModeData\_AllNotesOff}}\ =\ 123}
\DoxyCodeLine{00084\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461a5e2dba641939d400e47d9320b0db306a}{eChannelModeData\_OmniOff}}\ =\ 124}
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461a3defca7d2a1dc6940bbc00a14eadd2d0}{eChannelModeData\_OmniOn}}\ =\ 125}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ac2819c2b9eeec76609fa42609b2fd878}{eChannelModeData\_PolyOff}}\ =\ 126}
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ada14fa008d32a84173ed0f0e9d416a49}{eChannelModeData\_PolyOn}}\ =\ 127}
\DoxyCodeLine{00088\ \ \ \ \ \};}
\DoxyCodeLine{00089\ \ \ \ \ }
\DoxyCodeLine{00091\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a00948_a6884ba464f3e76eb758d45daf1395199}{ESpecialData}}}
\DoxyCodeLine{00092\ \ \ \ \ \{}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948_a6884ba464f3e76eb758d45daf1395199a52061b5587075953631c1389016cb0cf}{eSpecialData\_AccentedClick}}\ =\ 0x00\ }
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ ,\mbox{\hyperlink{a00948_a6884ba464f3e76eb758d45daf1395199a35a276fca410721fc1c39adb01be7af3}{eSpecialData\_UnaccentedClick}}\ =\ 0x01\ }
\DoxyCodeLine{00095\ \ \ \ \ \};}
\DoxyCodeLine{00096\ \ \ \ \ }
\DoxyCodeLine{00097\ \ \ \ \ }
\DoxyCodeLine{00098\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00099\ \ \ \ \ \textcolor{comment}{//\ Basic\ MIDI\ utility\ functions}}
\DoxyCodeLine{00100\ \ \ \ \ \textcolor{comment}{//}}
\DoxyCodeLine{00101\ \ \ \ \ }
\DoxyCodeLine{00103\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_a1561efb3b1dbe3d13ef18f4b4d9dee40}{IsNoteOn}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00104\ \ \ \ \ \{}
\DoxyCodeLine{00105\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00106\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00107\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00108\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ sn)\ \&\&}
\DoxyCodeLine{00109\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ !=\ data2));}
\DoxyCodeLine{00110\ \ \ \ \ \}}
\DoxyCodeLine{00111\ \ \ \ \ }
\DoxyCodeLine{00113\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_a91041690c271a718ef9451f66a7f6bb2}{IsNoteOff}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00114\ \ \ \ \ \{}
\DoxyCodeLine{00115\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00118\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30a879656d38da19be8e39951bb7037fdf6}{eStatusNibble\_NoteOff}}\ ==\ sn)\ ||\ ((\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ sn)\ \&\&\ (0x00\ ==\ data2)));}
\DoxyCodeLine{00119\ \ \ \ \ \}}
\DoxyCodeLine{00120\ \ \ \ \ }
\DoxyCodeLine{00122\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_a509974acde19fde832cd5fdeb5eaabe2}{IsAllNotesOff}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00123\ \ \ \ \ \{}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (!inPacket)\ \{\ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};\ \}}
\DoxyCodeLine{00125\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ sn\ =\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0);\ \textcolor{comment}{//\ status\ nibble}}
\DoxyCodeLine{00126\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data1\ =\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[1];}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ data2\ =\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[2];}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30acfa2f6c1f419ab8f84b18305cd182c05}{eStatusNibble\_ChannelMode}}\ ==\ sn)}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ac2819c2b9eeec76609fa42609b2fd878}{eChannelModeData\_PolyOff}}\ ==\ data1)}
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ ((\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ac068c1ac0762ad50b948d99f21ac09f5}{eChannelModeData\_AllSoundOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00135\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461af57995480ec44ebcb6b936042a471979}{eChannelModeData\_AllNotesOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461a5e2dba641939d400e47d9320b0db306a}{eChannelModeData\_OmniOff}}\ ==\ data1)\ ||}
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461a3defca7d2a1dc6940bbc00a14eadd2d0}{eChannelModeData\_OmniOn}}\ ==\ data1)\ ||}
\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a51c6649733dc2e7ce2364c7b52ddf461ada14fa008d32a84173ed0f0e9d416a49}{eChannelModeData\_PolyOn}}\ ==\ data1))}
\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ (0x00\ ==\ data2);}
\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00142\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00145\ \ \ \ \ \}}
\DoxyCodeLine{00146\ \ \ \ \ }
\DoxyCodeLine{00148\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_afd05400c946e625772428cad4be7d552}{IsAccentedClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00149\ \ \ \ \ \{}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((inPacket)\ \&\&}
\DoxyCodeLine{00151\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0))\ \&\&}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ ==\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0x0F))\ \&\&}
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a6884ba464f3e76eb758d45daf1395199a52061b5587075953631c1389016cb0cf}{eSpecialData\_AccentedClick}}\ ==\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[1]));}
\DoxyCodeLine{00154\ \ \ \ \ \}}
\DoxyCodeLine{00155\ \ \ \ \ }
\DoxyCodeLine{00157\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_a4f915a56cb150638f036cb7ed33facd8}{IsUnaccentedClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00158\ \ \ \ \ \{}
\DoxyCodeLine{00159\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((inPacket)\ \&\&}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a128e460fdb72f04a5d077f77c02b3c30ab269085f7106b0ba07ffaab0b7e6a713}{eStatusNibble\_NoteOn}}\ ==\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0xF0))\ \&\&}
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (0x00\ ==\ (inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[0]\ \&\ 0x0F))\ \&\&}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\mbox{\hyperlink{a00948_a6884ba464f3e76eb758d45daf1395199a35a276fca410721fc1c39adb01be7af3}{eSpecialData\_UnaccentedClick}}\ ==\ inPacket-\/>\mbox{\hyperlink{a01790_aac7229afc36006bc673eb219b18d8220}{mData}}[1]));}
\DoxyCodeLine{00163\ \ \ \ \ \}}
\DoxyCodeLine{00164\ \ \ \ \ }
\DoxyCodeLine{00166\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00948_a8f9544e49b4473862e0c1382f6963ce7}{IsClick}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01790}{AAX\_CMidiPacket}}*\ inPacket)}
\DoxyCodeLine{00167\ \ \ \ \ \{}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ (\mbox{\hyperlink{a00948_afd05400c946e625772428cad4be7d552}{IsAccentedClick}}(inPacket)\ ||\ \mbox{\hyperlink{a00948_a4f915a56cb150638f036cb7ed33facd8}{IsUnaccentedClick}}(inPacket));}
\DoxyCodeLine{00169\ \ \ \ \ \}}
\DoxyCodeLine{00170\ \}\ \textcolor{comment}{//\ namespace\ AAX}}
\DoxyCodeLine{00171\ }
\DoxyCodeLine{00173\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ AAX\_MIDIUtilities\_h}}

\end{DoxyCode}
