alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Takashi Iwai <tiwai@suse.de>,
	patches@opensource.wolfsonmicro.com, lrg@ti.com,
	lrg@slimlogic.co.uk
Subject: Re: [PATCH 1/2 v3] ALSA: Add snd_ctl_update() to dynamically update a control
Date: Wed, 16 Mar 2011 12:45:55 +0100	[thread overview]
Message-ID: <4D80A2F3.9090303@ladisch.de> (raw)
In-Reply-To: <1300273135-17101-1-git-send-email-dp@opensource.wolfsonmicro.com>

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

      parent reply	other threads:[~2011-03-16 11:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 10:58 [PATCH 1/2 v3] ALSA: Add snd_ctl_update() to dynamically update a control Dimitris Papastamos
2011-03-16 10:58 ` [PATCH 2/2 v3] ASoC: soc-core: Add helper function to handle dynamic update of controls Dimitris Papastamos
2011-03-16 11:45 ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D80A2F3.9090303@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dp@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=lrg@ti.com \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).