[alsa-devel] [PATCH 1/2 v3] ALSA: Add snd_ctl_update() to dynamically update a control

Clemens Ladisch clemens at ladisch.de
Wed Mar 16 12:45:55 CET 2011


Dimitris Papastamos wrote:
> Any comments on whether it would be advisable to use the same `numid' when
> I update an existing control?

"Update" sounds like it would change some properties of the existing
control.  However, what this function does is to entirely replace the
old control(s) with new one(s) (and this is also how the userspace
notifications look), so I think assigning a new ID is appropriate here,
if you call it snd_ctl_replace().  :)


Regards,
Clemens


More information about the Alsa-devel mailing list