RJ10DLL::ProcessIFInput
void ProcessIFInput( int process, WPARAM
wp, LPARAM lp );
Parameters
int
process
the WM_PROCESS_IFIN message.
WPARAM wp =
short *AudioData
LPARAM lp =
unsigned int DataCounter or DataID
Remarks
the IF input message WM_PROCESS_IFIN
will be processed by RJ10.dll.
In this DLL-Version the messages WM_PROCESS_IFIN will be only one.
Example
BEGIN_MESSAGE_MAP(IFJet1102DLLThread, CWinThread)
//{{AFX_MSG_MAP(IFJet1102DLLThread)
ON_THREAD_MESSAGE(WM_PROCESS_IFIN, OnProcessIFInput)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
//the Background Thread Process for critical routines
void IFJet1102DLLThread::OnProcessIFInput(WPARAM wParam, LPARAM lParam)
{
//wParam= short *AudioData
//lParam= DataCounter or DataID
//get the complicated job done in the DLL.darkness
IFinpuThreadWorkFlag=1;
ProcessIFInput(WM_PROCESS_IFIN, wParam,lParam);
IFinpuThreadWorkFlag=0;
}
see SourceExample RJ10Mini
IFJet1102DLLThread.h,IFJet1102DLLThread.cpp
See Also -->
OpenIFInput,
RJ10M-DLL.h |