/* Set the ADC MUX to the specified values. We do NOT do any checking of the values passed, since we assume that the relevant *_select_input function has done that for us.  */
static void waveartist_set_adc_mux(wavnc_info *devc, char left_dev, char right_dev)
/* Set the ADC MUX to the specified values. We do NOT do any checking of the values passed, since we assume that the relevant *_select_input function has done that for us.  */
static void waveartist_set_adc_mux(wavnc_info *devc, char left_dev, char right_dev)
{
	unsigned int reg_08, reg_09;
	reg_08 = waveartist_cmd1_r(devc, WACMD_GET_LEVEL | 0x0800);
	reg_09 = waveartist_cmd1_r(devc, WACMD_GET_LEVEL | 0x0900);
	reg_08 = (reg_08 & ~0x3f) | right_dev << 3 | left_dev;
	waveartist_cmd3(devc, WACMD_SET_MIXER, reg_08, reg_09);
}