rem: PRINT(("emuxki_set_mix : invalid control id requested : %i\n", id));
add: PRINT(("emuxki_set_mix : invalid control id requested : %li\n", id));
context: emuxki_set_mix(emuxki_dev *card, multi_mix_value_info * MMVI){	int32 i;	uint32 id;	multi_mixer_control *control = NULL;	for(i=0; i<MMVI->item_count; i++) {		id = MMVI->values[i].id - EMU_MULTI_CONTROL_FIRSTID;		if(id < 0 || id >= card->multi.control_count) {			PRINT(("emuxki_set_mix : invalid control id requested : %i\n", id));			continue;		}		control = &card->multi.controls[id];							if(control->mix_control.flags & B_MULTI_MIX_GAIN) {			multi_mixer_control *control2 = NULL;			if(i+1<MMVI->item_count) {				id = MMVI->values[i + 1].id - EMU_MULTI_CONTROL_FIRSTID;				if(id < 0 || id >= card->multi.control_count) {					PRINT(("emuxki_set_mix : invalid control id requested : %i\n", id));				} else {					control2 = &card->multi.controls[id];					if(control2->mix_control.master != control->mix_control.id)						control2 = NULL;				}			}			if(control->set) {				float values[2];				values[0] = 0.0;				values[1] = 0.0;				if(control->mix_control.master == EMU_MULTI_CONTROL_MASTERID)					values[0] = MMVI->values[i].u.gain;				else					values[1] = MMVI->values[i].u.gain;									if(control2 && control2->mix_control.master != EMU_MULTI_CONTROL_MASTERID)					values[1] = MMVI->values[i+1].u.gain;									control->set(card, control->cookie, control->type, values);			}						if(control2)				i++;				}			if(control->mix_control.flags & B_MULTI_MIX_ENABLE && control->set) {			float values[1];						values[0] = MMVI->values[i].u.enable ? 1.0 : 0.0;			control->set(card, control->cookie, control->type, values);		}				if(control->mix_control.flags & B_MULTI_MIX_MUX && control->set) {			float values[1];						values[0] = (float)MMVI->values[i].u.mux;			control->set(card, control->cookie, control->type, values);		}	}	return B_OK;}