/* set the mute status of the given audio  */
static int vx_set_audio_switch(struct vx_core *chip, int audio, int active)
/* set the mute status of the given audio  */
static int vx_set_audio_switch(struct vx_core *chip, int audio, int active)
{
	struct vx_audio_level info;
	memset(&info, 0, sizeof(info));
	info.has_mute = 1;
	info.mute = !active;
	chip->audio_active[audio] = active;
	return vx_adjust_audio_level(chip, audio, 0, &info);
}