Re: [alsa-lib][PATCH] ctl: add dimension validator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jul 7 2016 23:29, Takashi Iwai wrote:
>> @@ -302,6 +303,32 @@ int snd_ctl_elem_info(snd_ctl_t *ctl, snd_ctl_elem_info_t *info)
>>  	return ctl->ops->element_info(ctl, info);
>>  }
>>  
>> +static bool validate_element_member_dimension(struct snd_ctl_elem_info *info)
> 
> In alsa-lib user-space, we use snd_ctl_elem_info_t.  Please stick with
> it.  In theory, this type can be different from the kernel ABI.

Indeed. I should have switched my brain for userspace.


Thanks

Takashi Sakamoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux