Depending on the mixer driver, line selection can be done in a number of ways.
Most often (in my experience) there is a control of type MIXERCONTROL_CONTROLTYPE_MUX or MIXERCONTROL_CONTROLTYPE_SINGLESELECT. This contains an array of binary bytes indicating which of the input channels are switched on.
Alternatively, the next most common method is a number of controls of type MIXERCONTROL_CONTROLTYPE_BOOLEAN or MIXERCONTROL_CONTROLTYPE_ONOFF or MIXERCONTROL_CONTROLTYPE_MUTE, one for each input line. In this case, you have to set these appropriately for the input(s) you want.
Not the easiest of APIs to navigate, but hope that helps.
Martin.
--
Martin
Certified CVI Developer