snd_kcontrol_t *snd_ctl_new1(snd_kcontrol_new_t * ncontrol, void *private_data) 
snd_kcontrol_t *snd_ctl_new1(const snd_kcontrol_new_t * ncontrol, void *private_data) 
snd_kcontrol_t *snd_ctl_new1(snd_kcontrol_new_t * ncontrol, void *private_data){	snd_kcontrol_t kctl;	unsigned int access;		snd_runtime_check(ncontrol != NULL, return NULL);	snd_assert(ncontrol->info != NULL, return NULL);	memset(&kctl, 0, sizeof(kctl));	kctl.id.iface = ncontrol->iface;	kctl.id.device = ncontrol->device;	kctl.id.subdevice = ncontrol->subdevice;	if (ncontrol->name)		strlcpy(kctl.id.name, ncontrol->name, sizeof(kctl.id.name));	kctl.id.index = ncontrol->index;	kctl.count = ncontrol->count ? ncontrol->count : 1;	access = ncontrol->access == 0 ? SNDRV_CTL_ELEM_ACCESS_READWRITE :		 (ncontrol->access & (SNDRV_CTL_ELEM_ACCESS_READWRITE|SNDRV_CTL_ELEM_ACCESS_INACTIVE|		 		      SNDRV_CTL_ELEM_ACCESS_DINDIRECT|SNDRV_CTL_ELEM_ACCESS_INDIRECT));	kctl.info = ncontrol->info;	kctl.get = ncontrol->get;	kctl.put = ncontrol->put;	kctl.private_value = ncontrol->private_value;	kctl.private_data = private_data;	return snd_ctl_new(&kctl, access);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b636a71d9b9525ee51ca872d461817a5bd5c39fd/control.c/buggy/sound/core/control.c