\hypertarget{a02098}{}\doxysection{AAX\+\_\+\+IACFHost\+Processor\+Delegate Class Reference}
\label{a02098}\index{AAX\_IACFHostProcessorDelegate@{AAX\_IACFHostProcessorDelegate}}


{\ttfamily \#include $<$AAX\+\_\+\+IACFHost\+Processor\+Delegate.\+h$>$}



Inheritance diagram for AAX\+\_\+\+IACFHost\+Processor\+Delegate\+:
% FIG 0


Collaboration diagram for AAX\+\_\+\+IACFHost\+Processor\+Delegate\+:
% FIG 1


\doxysubsection{Description}
Versioned interface for host methods specific to offline processing. \doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a02098_ab916e21683a9c1b7d1729cca9f4e7284}{Get\+Audio}} (const float $\ast$const in\+Audio\+Ins\mbox{[}$\,$\mbox{]}, int32\+\_\+t in\+Audio\+In\+Count, int64\+\_\+t in\+Location, int32\+\_\+t $\ast$io\+Num\+Samples)=0
\begin{DoxyCompactList}\small\item\em CALL\+: Randomly access audio from the timeline.   \end{DoxyCompactList}\item 
virtual int32\+\_\+t \mbox{\hyperlink{a02098_afb19dc4aa2e5d81d61700be11cfcea20}{Get\+Side\+Chain\+Input\+Num}} ()=0
\begin{DoxyCompactList}\small\item\em CALL\+: Returns the index of the side chain input buffer.   \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions inherited from \mbox{\hyperlink{a01770}{IACFUnknown}}}
\begin{DoxyCompactItemize}
\item 
virtual BEGIN\+\_\+\+ACFINTERFACE ACFRESULT ACFMETHODCALLTYPE \mbox{\hyperlink{a01770_a8b7f0ae9c78d007ca76aa462ebe53135}{Query\+Interface}} (const \mbox{\hyperlink{a00308_a59df0b41744eee7a066787aaedf97f67}{acf\+IID}} \&iid, void $\ast$$\ast$pp\+Out)=0
\begin{DoxyCompactList}\small\item\em Returns pointers to supported interfaces. \end{DoxyCompactList}\item 
virtual acf\+UInt32 ACFMETHODCALLTYPE \mbox{\hyperlink{a01770_aa9c7a5b9dff341092b7b86bb9b3a58fb}{Add\+Ref}} (void)=0
\begin{DoxyCompactList}\small\item\em Increments reference count. \end{DoxyCompactList}\item 
virtual acf\+UInt32 ACFMETHODCALLTYPE \mbox{\hyperlink{a01770_afabd38cec0a9ed37f1d3e8644a70ac41}{Release}} (void)=0
\begin{DoxyCompactList}\small\item\em Decrements reference count. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{a02098_ab916e21683a9c1b7d1729cca9f4e7284}\label{a02098_ab916e21683a9c1b7d1729cca9f4e7284}} 
\index{AAX\_IACFHostProcessorDelegate@{AAX\_IACFHostProcessorDelegate}!GetAudio@{GetAudio}}
\index{GetAudio@{GetAudio}!AAX\_IACFHostProcessorDelegate@{AAX\_IACFHostProcessorDelegate}}
\doxysubsubsection{\texorpdfstring{GetAudio()}{GetAudio()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+IACFHost\+Processor\+Delegate\+::\+Get\+Audio (\begin{DoxyParamCaption}\item[{const float $\ast$const}]{in\+Audio\+Ins\mbox{[}$\,$\mbox{]},  }\item[{int32\+\_\+t}]{in\+Audio\+In\+Count,  }\item[{int64\+\_\+t}]{in\+Location,  }\item[{int32\+\_\+t $\ast$}]{io\+Num\+Samples }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



CALL\+: Randomly access audio from the timeline.   

Called from within \mbox{\hyperlink{a02090_a8ede94912e89621bf6951042687c3c4a}{AAX\+\_\+\+IHost\+Processor\+::\+Render\+Audio()}}, this method fills a buffer of samples with randomly-\/accessed data from the current input processing region on the timeline, including any extra samples such as processing \char`\"{}handles\char`\"{}.

\begin{DoxyNote}{Note}
Plug-\/ins that use this feature must set \mbox{\hyperlink{a00608_a13e384f22825afd3db6d68395b79ce0dab0bbaabe0a03b37e5a69f04a6f306076}{AAX\+\_\+e\+Property\+\_\+\+Uses\+Random\+Access}} to {\ttfamily true} 

It is not possible to retrieve samples from outside of the current input processing region 

Always check the return value of this method before using the randomly-\/accessed samples
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em in\+Audio\+Ins} & Timeline audio buffer(s). This must be set to {\ttfamily in\+Audio\+Ins} from \mbox{\hyperlink{a02090_a8ede94912e89621bf6951042687c3c4a}{AAX\+\_\+\+IHost\+Processor\+::\+Render\+Audio()}}\\
\hline
\mbox{\texttt{ in}}  & {\em in\+Audio\+In\+Count} & Number of buffers in {\ttfamily in\+Audio\+Ins}. This must be set to {\ttfamily in\+Audio\+In\+Count} from \mbox{\hyperlink{a02090_a8ede94912e89621bf6951042687c3c4a}{AAX\+\_\+\+IHost\+Processor\+::\+Render\+Audio()}}\\
\hline
\mbox{\texttt{ in}}  & {\em in\+Location} & A sample location relative to the beginning of the currently processed region, e.\+g. a value of 0 corresponds to the timeline location returned by \mbox{\hyperlink{a01854_aec4fa455a4e8ecccc245ce30b596c7b4}{AAX\+\_\+\+CHost\+Processor\+::\+Get\+Src\+Start()}} \\
\hline
\mbox{\texttt{ in,out}}  & {\em io\+Num\+Samples} & \begin{DoxyItemize}
\item Input\+: The maximum number of samples to read. \item Output\+: The actual number of samples that were read from the timeline   \end{DoxyItemize}
\\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{a02098_afb19dc4aa2e5d81d61700be11cfcea20}\label{a02098_afb19dc4aa2e5d81d61700be11cfcea20}} 
\index{AAX\_IACFHostProcessorDelegate@{AAX\_IACFHostProcessorDelegate}!GetSideChainInputNum@{GetSideChainInputNum}}
\index{GetSideChainInputNum@{GetSideChainInputNum}!AAX\_IACFHostProcessorDelegate@{AAX\_IACFHostProcessorDelegate}}
\doxysubsubsection{\texorpdfstring{GetSideChainInputNum()}{GetSideChainInputNum()}}
{\footnotesize\ttfamily virtual int32\+\_\+t AAX\+\_\+\+IACFHost\+Processor\+Delegate\+::\+Get\+Side\+Chain\+Input\+Num (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



CALL\+: Returns the index of the side chain input buffer.   

Called from within \mbox{\hyperlink{a02090_a8ede94912e89621bf6951042687c3c4a}{AAX\+\_\+\+IHost\+Processor\+::\+Render\+Audio()}}, this method returns the index of the side chain input sample buffer within {\ttfamily in\+Audio\+Ins}.   

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00656}{AAX\+\_\+\+IACFHost\+Processor\+Delegate.\+h}}\end{DoxyCompactItemize}
