/* Changing playback levels at an ESS chip with record mixer means having to take care of recording levels of recorded inputs (devc->recmask) too!  */
int ess_mixer_set(sb_devc *devc, int dev, int left, int right)
/* Changing playback levels at an ESS chip with record mixer means having to take care of recording levels of recorded inputs (devc->recmask) too!  */
int ess_mixer_set(sb_devc *devc, int dev, int left, int right)
{
	if (ess_has_rec_mixer (devc->submodel) && (devc->recmask & (1 << dev))) {
		sb_common_mixer_set (devc, dev + ES_REC_MIXER_RECDIFF, left, right);
	}
	return sb_common_mixer_set (devc, dev, left, right);
}