RJ10DLL::SetInputChannel
int SetInputChannel( int set );
Return Value
the currend channel.
Parameters
int set
There are four
possible variants:
#define DX_CHN 0
//amplified left channel
#define RX_CHN 1
//normal unplugged rigt channel (amplifire off)
#define AUTO_CHN 2
//automatic channel selection
#define GET_CHN -1
//which channel is active ? this read only the currend state
Remarks
set the HI/LO Channel or automatic.
Example
see on RJ10Mini SourceExample:
void CRJ10MiniDlg::SetCHN(int
chn)
{
m_CHN=chn;
b_RX.SetCheck(m_CHN);
b_DX.SetCheck(!m_CHN);
SetInputChannel(m_CHN);
}
See Also -->
RJ10M-DLL.h |