/* set the mute status of the given audio  */
static int vx_set_audio_gain(struct vx_core *chip, int audio, int capture, int level)
/* set the mute status of the given audio  */
static int vx_set_audio_gain(struct vx_core *chip, int audio, int capture, int level)
{
	struct vx_audio_level info;
	memset(&info, 0, sizeof(info));
	info.has_level = 1;
	info.level = level;
	chip->audio_gain[capture][audio] = level;
	return vx_adjust_audio_level(chip, audio, capture, &info);
}